diff options
author | seocamo <[email protected]> | 2021-03-28 03:12:25 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-27 21:12:25 -0400 |
commit | 6e65c34e280b1e7428d3c753088b9569f4a65e57 (patch) | |
tree | 4c3a713242bcfc1211f58609eafaf443577f69b1 /lua/lsp/lua-ls.lua | |
parent | 7565d9397fea4c59eecd0ccc0b49d6c1727e6aea (diff) |
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
Diffstat (limited to 'lua/lsp/lua-ls.lua')
-rw-r--r-- | lua/lsp/lua-ls.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lsp/lua-ls.lua b/lua/lsp/lua-ls.lua index 36df2b49..775eb92f 100644 --- a/lua/lsp/lua-ls.lua +++ b/lua/lsp/lua-ls.lua @@ -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 } } } |