소스 검색

Fix the lua goto definition bug and add better common capabilities (#1604)

Abouzar Parvan 3 년 전
부모
커밋
ddd86dd2b9
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      lua/config/defaults.lua

+ 1 - 7
lua/config/defaults.lua

@@ -644,12 +644,6 @@ lvim.lang = {
         },
         settings = {
           Lua = {
-            runtime = {
-              -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
-              version = "LuaJIT",
-              -- Setup your lua path
-              path = vim.split(package.path, ";"),
-            },
             diagnostics = {
               -- Get the language server to recognize the `vim` global
               globals = { "vim", "lvim" },
@@ -662,7 +656,7 @@ lvim.lang = {
                 [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
               },
               maxPreload = 100000,
-              preloadFileSize = 1000,
+              preloadFileSize = 10000,
             },
           },
         },