Skip to content

Commit 1c81e66

Browse files
ngrymanseantwie03tjdevries
authored
fix: don't check third party for Lua LSP (nvim-lua#57)
* fix: don't check third party for Lua LSP Co-authored-by: Sean <[email protected]> Co-authored-by: TJ DeVries <[email protected]> Co-authored-by: Sean <[email protected]>
1 parent 224690f commit 1c81e66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

init.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,10 @@ require('lspconfig').sumneko_lua.setup {
379379
diagnostics = {
380380
globals = { 'vim' },
381381
},
382-
workspace = { library = vim.api.nvim_get_runtime_file('', true) },
382+
workspace = {
383+
library = vim.api.nvim_get_runtime_file('', true),
384+
checkThirdParty = false,
385+
},
383386
-- Do not send telemetry data containing a randomized but unique identifier
384387
telemetry = { enable = false },
385388
},

0 commit comments

Comments
 (0)