Decoupling config from nvim (#1038)

This commit is contained in:
Christian Chiarulli 2021-07-19 22:50:07 -04:00 committed by GitHub
parent acb6a7a2ce
commit d02265175f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 63 additions and 39 deletions

View file

@ -59,11 +59,12 @@ M.lsp = function()
},
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = { "vim" },
globals = { "vim", "O" },
},
workspace = {
-- Make the server aware of Neovim runtime files
library = {
[vim.fn.expand "~/.local/share/lunarvim/lvim/lua"] = true,
[vim.fn.expand "$VIMRUNTIME/lua"] = true,
[vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
},