From 428db0b5fe41ae854c41c239fcfdd6adf7c6edc1 Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 5 Apr 2024 22:29:44 +0200 Subject: feat: remove unused lua LSP workspace libraries, unused remap --- lua/pml68/configs/settings/lua_ls.lua | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'lua/pml68/configs/settings') 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, + } } } } -- cgit v1.2.3