symbols-outline.nvim
symbols-outline.nvim copied to clipboard
Wrongly positioned
The right panel is too thin to see

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
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.
Should be fixed now