diff options
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, }, |