summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorNicolas Gryman <ngryman@gmail.com>2022-12-20 00:01:33 +0100
committerGitHub <noreply@github.com>2022-12-19 18:01:33 -0500
commitd37a3a946288c97e52e3d82e8a710c099eb6bd90 (patch)
treeab4ba8276c79c2196031186a8ec616f896652ded /init.lua
parent99df0d8f66ac499e949109883792ddb22ddba025 (diff)
fix: don't check third party for Lua LSP (#57)
* fix: don't check third party for Lua LSP Co-authored-by: Sean <44933921+seantwie03@users.noreply.github.com> Co-authored-by: TJ DeVries <devries.timothyj@gmail.com> Co-authored-by: Sean <44933921+seantwie03@users.noreply.github.com>
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 961eb78..167114c 100644
--- a/init.lua
+++ b/init.lua
@@ -379,7 +379,10 @@ require('lspconfig').sumneko_lua.setup {
diagnostics = {
globals = { 'vim' },
},
- workspace = { library = vim.api.nvim_get_runtime_file('', true) },
+ workspace = {
+ library = vim.api.nvim_get_runtime_file('', true),
+ checkThirdParty = false,
+ },
-- Do not send telemetry data containing a randomized but unique identifier
telemetry = { enable = false },
},