From 6b06898e35d9557ca83e1d4ff4aa048296ca5120 Mon Sep 17 00:00:00 2001 From: louie Date: Fri, 24 Jun 2022 20:32:43 -0700 Subject: Added lsp --- lua/user/lsp/settings/sumneko_lua.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/user/lsp/settings/sumneko_lua.lua (limited to 'lua/user/lsp/settings/sumneko_lua.lua') diff --git a/lua/user/lsp/settings/sumneko_lua.lua b/lua/user/lsp/settings/sumneko_lua.lua new file mode 100644 index 0000000..0ac454a --- /dev/null +++ b/lua/user/lsp/settings/sumneko_lua.lua @@ -0,0 +1,16 @@ +return { + settings = { + + Lua = { + diagnostics = { + globals = { "vim" }, + }, + workspace = { + library = { + [vim.fn.expand("$VIMRUNTIME/lua")] = true, + [vim.fn.stdpath("config") .. "/lua"] = true, + }, + }, + }, + }, +} -- cgit