Kaynağa Gözat

fix(lua-dev): make sure we are loading the correct types (#3208)

Abouzar Parvan 2 yıl önce
ebeveyn
işleme
91dadd46a9

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

@@ -2,10 +2,10 @@ local default_workspace = {
   library = {
     vim.fn.expand "$VIMRUNTIME",
     get_lvim_base_dir(),
-    require("lua-dev.sumneko").types(),
+    require("lua-dev.config").types(),
   },
 
-  maxPreload = 1000,
+  maxPreload = 5000,
   preloadFileSize = 10000,
 }
 

+ 1 - 1
snapshots/default.json

@@ -36,7 +36,7 @@
     "commit": "7d8c6c4"
   },
   "lua-dev.nvim": {
-    "commit": "2ffe2f6"
+    "commit": "2410be2"
   },
   "lualine.nvim": {
     "commit": "a52f078"