summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRayHammer <mail@rayhammer.dev>2023-05-12 20:57:41 +0200
committerRayHammer <mail@rayhammer.dev>2023-05-12 20:57:41 +0200
commit8fbaa86fca0784dbae03d4513345c6b9c9e573ed (patch)
tree8d66990fd4242c5368be09327e2aaa3387e84209
parent90ffd3a25bdf38ca48ebdb5e6d04babc337adb67 (diff)
Made the Lua workspace library leanermain
-rw-r--r--lua/init.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/lua/init.lua b/lua/init.lua
index 6996a9d..96d7d34 100644
--- a/lua/init.lua
+++ b/lua/init.lua
@@ -105,11 +105,17 @@ local configs_custom = {
},
diagnostics = {
-- Get the language server to recognize the `vim` global
- globals = {'vim'},
+ -- globals = {'vim'},
},
workspace = {
-- Make the server aware of Neovim runtime files
- library = vim.api.nvim_get_runtime_file("", true),
+ library = {
+ "/etc/xdg/nvim",
+ "/home/rayhammer/.local/share/nvim/site",
+ "/usr/share/nvim/runtime",
+ "/usr/lib/nvim",
+ "/usr/share/vim/vimfiles",
+ }
},
},
}