From d02265175f33fb1586e5e1f080e0730c8642a961 Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Mon, 19 Jul 2021 22:50:07 -0400 Subject: Decoupling config from nvim (#1038) --- lua/lang/lua.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/lang/lua.lua') 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, }, -- cgit v1.2.3