diff options
author | Christian Chiarulli <[email protected]> | 2021-07-19 22:50:07 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-19 22:50:07 -0400 |
commit | d02265175f33fb1586e5e1f080e0730c8642a961 (patch) | |
tree | 74edc2e46da039ab2c04c96d0198a8a30a4ca217 /lua/lang/lua.lua | |
parent | acb6a7a2cedcb758db912cc4c9c8afdae7c11840 (diff) |
Decoupling config from nvim (#1038)
Diffstat (limited to 'lua/lang/lua.lua')
-rw-r--r-- | lua/lang/lua.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lang/lua.lua b/lua/lang/lua.lua index 415e0849..02b2decf 100644 --- a/lua/lang/lua.lua +++ b/lua/lang/lua.lua @@ -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, }, |