symbols-outline.nvim icon indicating copy to clipboard operation
symbols-outline.nvim copied to clipboard

Wrongly positioned

Open glyh opened this issue 3 years ago • 2 comments

The right panel is too thin to see

image

Here's the minimal config to reproduce:

if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end


execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'simrat39/symbols-outline.nvim'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF

vim.g.symbols_outline = {
    position = 'right',
    relative_width = true,
    width = 25,
}

local lspconfig = require('lspconfig')
lspconfig.sumneko_lua.setup {
  cmd = {'lua-language-server'},
}

EOF




glyh avatar Jan 01 '22 02:01 glyh

I am having this issue, too. Here is my config:

vim.g.symbols_outline = {
    relative_width = false,
    width = 40,
    auto_preview = false,
    auto_close = true,
}

lua print(vim.inspect(vim.g.symbols_outline)) prints this dict properly before lazy loading the plugin.

harshasrisri avatar Jan 06 '22 22:01 harshasrisri

Should be fixed now

simrat39 avatar Feb 22 '22 02:02 simrat39