From 0872d52e7127434a1a0cddaa30510f42a1bf22c1 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 13 May 2023 21:38:36 +0100 Subject: Adds a neovim from scratch neovim scratch --- nvim/lua/settings/lua_ls.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nvim/lua/settings/lua_ls.lua (limited to 'nvim/lua/settings/lua_ls.lua') diff --git a/nvim/lua/settings/lua_ls.lua b/nvim/lua/settings/lua_ls.lua new file mode 100644 index 0000000..1154de2 --- /dev/null +++ b/nvim/lua/settings/lua_ls.lua @@ -0,0 +1,18 @@ +return { + settings = { + Lua = { + diagnostics = { + globals = { "vim" }, + }, + workspace = { + library = { + [vim.fn.expand "$VIMRUNTIME/lua"] = true, + [vim.fn.stdpath "config" .. "/lua"] = true, + }, + }, + telemetry = { + enable = false, + }, + }, + }, +} -- cgit v1.2.3