Browse Source

fix(lsp): sumneko-lua library scanning (#3484)

fixes https://github.com/LunarVim/LunarVim/issues/3439
carsakiller 2 years ago
parent
commit
88b114424d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lua/lvim/lsp/providers/sumneko_lua.lua

+ 2 - 1
lua/lvim/lsp/providers/sumneko_lua.lua

@@ -3,8 +3,9 @@ local default_workspace = {
     vim.fn.expand "$VIMRUNTIME",
     vim.fn.expand "$VIMRUNTIME",
     get_lvim_base_dir(),
     get_lvim_base_dir(),
     require("neodev.config").types(),
     require("neodev.config").types(),
+    "${3rd}/busted/library",
+    "${3rd}/luassert/library",
   },
   },
-  checkThirdParty = false,
 
 
   maxPreload = 5000,
   maxPreload = 5000,
   preloadFileSize = 10000,
   preloadFileSize = 10000,