diff options
author | RayHammer <mail@rayhammer.dev> | 2023-05-12 20:57:41 +0200 |
---|---|---|
committer | RayHammer <mail@rayhammer.dev> | 2023-05-12 20:57:41 +0200 |
commit | 8fbaa86fca0784dbae03d4513345c6b9c9e573ed (patch) | |
tree | 8d66990fd4242c5368be09327e2aaa3387e84209 /lua | |
parent | 90ffd3a25bdf38ca48ebdb5e6d04babc337adb67 (diff) |
Made the Lua workspace library leanermain
Diffstat (limited to 'lua')
-rw-r--r-- | lua/init.lua | 10 |
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", + } }, }, } |