浏览代码

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

fixes https://github.com/LunarVim/LunarVim/issues/3439
carsakiller 2 年之前
父节点
当前提交
88b114424d
共有 1 个文件被更改,包括 2 次插入1 次删除
  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",
     get_lvim_base_dir(),
     require("neodev.config").types(),
+    "${3rd}/busted/library",
+    "${3rd}/luassert/library",
   },
-  checkThirdParty = false,
 
   maxPreload = 5000,
   preloadFileSize = 10000,