Procházet zdrojové kódy

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>
Nicolas Gryman před 4 roky
rodič
revize
d37a3a9462
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      init.lua

+ 4 - 1
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 },
     },