diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-13 21:38:36 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-13 21:38:36 +0100 |
commit | 0872d52e7127434a1a0cddaa30510f42a1bf22c1 (patch) | |
tree | 0300a741c9812d4ade1ec7ffd55b15a66e17684b /nvim/lua/settings/lua_ls.lua | |
parent | e6fd7b60e1d6e7869baed548ffbd620d8d3e32b9 (diff) |
Adds a neovim from scratch neovim scratch
Diffstat (limited to '')
-rw-r--r-- | nvim/lua/settings/lua_ls.lua | 18 |
1 files changed, 18 insertions, 0 deletions
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, + }, + }, + }, +} |