summaryrefslogtreecommitdiffstats
path: root/nvim/lua/settings/lua_ls.lua
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-13 21:38:36 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-13 21:38:36 +0100
commit0872d52e7127434a1a0cddaa30510f42a1bf22c1 (patch)
tree0300a741c9812d4ade1ec7ffd55b15a66e17684b /nvim/lua/settings/lua_ls.lua
parente6fd7b60e1d6e7869baed548ffbd620d8d3e32b9 (diff)
Adds a neovim from scratch neovim scratch
Diffstat (limited to '')
-rw-r--r--nvim/lua/settings/lua_ls.lua18
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,
+ },
+ },
+ },
+}