From d37a3a946288c97e52e3d82e8a710c099eb6bd90 Mon Sep 17 00:00:00 2001 From: Nicolas Gryman Date: Tue, 20 Dec 2022 00:01:33 +0100 Subject: 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 Co-authored-by: Sean <44933921+seantwie03@users.noreply.github.com> --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.lua') 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 }, }, -- cgit v1.2.3-54-g00ecf