diff options
Diffstat (limited to '.config/nvim/lua/plugins/lsp.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/lsp.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index a4127e3..6c40c9c 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -169,17 +169,17 @@ local servers = { settings = { Lua = { runtime = { - -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) version = "LuaJIT", + path = vim.split(package.path, ';'), }, diagnostics = { - -- Get the language server to recognize the `vim` global + enable = true, globals = { "vim" }, }, workspace = { - -- Make the server aware of Neovim runtime files, maxPreload = 2000, preloadFileSize = 50000, + checkThirdParty = false, }, }, }, |
