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

This commit is contained in:
Abouzar Parvan 2021-09-23 20:00:20 +03:30 committed by GitHub
parent 6214ff9ef6
commit ddd86dd2b9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
},
},
},