diff options
Diffstat (limited to 'nvim/lua/settings/lua_ls.lua')
-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, + }, + }, + }, +} |