From c6f50bd626cdcafb2e22eee73439934680a8ec97 Mon Sep 17 00:00:00 2001 From: htom Date: Wed, 24 Sep 2025 09:38:50 +0200 Subject: [PATCH] added mason ensure installed packages --- lua/custom/plugins/t | 20 -------------------- lua/kickstart/plugins/lspconfig.lua | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 20 deletions(-) delete mode 100644 lua/custom/plugins/t diff --git a/lua/custom/plugins/t b/lua/custom/plugins/t deleted file mode 100644 index ef60adb..0000000 --- a/lua/custom/plugins/t +++ /dev/null @@ -1,20 +0,0 @@ --- basic telescope configuration -local conf = require("telescope.config").values -local function toggle_telescope(harpoon_files) - local file_paths = {} - for _, item in ipairs(harpoon_files.items) do - table.insert(file_paths, item.value) - end - - require("telescope.pickers").new({}, { - prompt_title = "Harpoon", - finder = require("telescope.finders").new_table({ - results = file_paths, - }), - previewer = conf.file_previewer({}), - sorter = conf.generic_sorter({}), - }):find() -end - -vim.keymap.set("n", "", function() toggle_telescope(harpoon:list()) end, - { desc = "Open harpoon window" }) diff --git a/lua/kickstart/plugins/lspconfig.lua b/lua/kickstart/plugins/lspconfig.lua index 7e881e5..9a73b79 100644 --- a/lua/kickstart/plugins/lspconfig.lua +++ b/lua/kickstart/plugins/lspconfig.lua @@ -270,6 +270,34 @@ return { local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { 'stylua', -- Used to format Lua code + 'arduino-language-server', + 'bash-debug-adapter', + 'bash-language-server', + 'clang-format', + 'clangd', + 'cmake-language-server', + 'cmakelang', + 'cpplint', + 'cpptools', + 'css-lsp', + 'css-variables-language-server', + 'cssmodules-language-server', + 'delve', + 'goimports-reviser', + 'golangci-lint', + 'golangci-lint-langserver', + 'gopls', + 'gradle-language-server', + 'html-lsp', + 'htmlhint', + 'htmx-lsp', + 'hyprls', + 'json-lsp', + 'jsonlint', + 'lemminx', + 'lua-language-server', + 'pyright', + 'xmlformatter', }) require('mason-tool-installer').setup { ensure_installed = ensure_installed }