Fix for the popup with max preload size is low (#175)

Fix for the popup with max file preload size is to low, i dig into the code of sumneko and you need to add maxPreload = 10000 to workspace and the number is in kb
This commit is contained in:
seocamo 2021-03-28 03:12:25 +02:00 committed by GitHub
parent 7565d9397f
commit 6e65c34e28
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,8 @@ require'lspconfig'.sumneko_lua.setup {
},
workspace = {
-- Make the server aware of Neovim runtime files
library = {[vim.fn.expand('$VIMRUNTIME/lua')] = true, [vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true}
library = {[vim.fn.expand('$VIMRUNTIME/lua')] = true, [vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true},
maxPreload = 10000
}
}
}