aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/lsp.lua')
-rw-r--r--lua/plugins/lsp.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index a4127e3..6c40c9c 100644
--- a/lua/plugins/lsp.lua
+++ b/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,
},
},
},