mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 19:24:25 +02:00
Decoupling config from nvim (#1038)
This commit is contained in:
parent
acb6a7a2ce
commit
d02265175f
13 changed files with 63 additions and 39 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue