summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-09-23 20:00:20 +0330
committerGitHub <[email protected]>2021-09-23 20:00:20 +0330
commitddd86dd2b95f26ef0477e0c2c3641f49f14e4fba (patch)
treecb6f74c8ef18b13c23187e20781aa092ebab02b7
parent6214ff9ef6a6171bd9746e64249c9e75da17b317 (diff)
Fix the lua goto definition bug and add better common capabilities (#1604)
-rw-r--r--lua/config/defaults.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/lua/config/defaults.lua b/lua/config/defaults.lua
index e27d8077..a67a9c53 100644
--- a/lua/config/defaults.lua
+++ b/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,
},
},
},