diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-04-05 22:29:44 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-04-05 22:30:04 +0200 |
| commit | 428db0b5fe41ae854c41c239fcfdd6adf7c6edc1 (patch) | |
| tree | 8387c26e49f18af9fef9ce83fe8bd7d09c3e7b70 /lua/pml68/configs/settings | |
| parent | feat: add svelte parser (diff) | |
| download | nvim-428db0b5fe41ae854c41c239fcfdd6adf7c6edc1.tar.gz | |
feat: remove unused lua LSP workspace libraries, unused remap
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/configs/settings/lua_ls.lua | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lua/pml68/configs/settings/lua_ls.lua b/lua/pml68/configs/settings/lua_ls.lua index de4124c..943eaec 100644 --- a/lua/pml68/configs/settings/lua_ls.lua +++ b/lua/pml68/configs/settings/lua_ls.lua @@ -2,18 +2,17 @@ return { settings = { Lua = { diagnostics = { - globals = { "vim " }, - }, - workspace = { - library = { - [vim.fn.expand "$VIMRUNTIME/lua"] = true, - [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, - [vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types"] = true, - [vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true, + globals = { "vim " }, }, - maxPreload = 100000, - preloadFileSize = 10000, - } + workspace = { + library = { + [vim.fn.expand "$VIMRUNTIME/lua"] = true, + [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, + [vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true, + }, + maxPreload = 100000, + preloadFileSize = 10000, + } } } } |
