diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-01 23:08:26 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-01 23:08:26 +0200 |
| commit | ba436a9e37e5f4eb0cba05e1b41192a7cef794a3 (patch) | |
| tree | 3e0559371c8a25f1f2fbe2ea38aa73a4043047a9 /.config/nvim/lua/plugins/lsp.lua | |
| parent | ab246859878ff1d4375f01dbbfe131378c65a541 (diff) | |
| parent | 344cc94d7a8255e74b731b6bc94406958df0cc82 (diff) | |
| download | dotfiles-ba436a9e37e5f4eb0cba05e1b41192a7cef794a3.tar.gz dotfiles-ba436a9e37e5f4eb0cba05e1b41192a7cef794a3.zip | |
Merge commit 'e65568c6a08312766872e054ee62dcdf8b509073'
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, }, }, }, |
