aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-04-30 21:57:41 +0200
committersrdusr <trevorgray@srdusr.com>2023-04-30 21:57:41 +0200
commit8fcca13a153160c4941a596cb9b11a2f1a64dc9f (patch)
tree99729428e30f5f564436925205262f1918b0fd96
parent037f2b8d808377c526b12119e2891308b6018599 (diff)
downloaddotfiles-8fcca13a153160c4941a596cb9b11a2f1a64dc9f.tar.gz
dotfiles-8fcca13a153160c4941a596cb9b11a2f1a64dc9f.zip
Options for lua lsp
-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,
},
},
},