install additional tools

This commit is contained in:
Baipyrus 2024-03-01 13:42:23 +01:00
parent 48f8fd251d
commit ca7c6260fc

View File

@ -136,6 +136,7 @@ return {
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers = {
rust_analyzer = {}, rust_analyzer = {},
tailwindcss = {},
omnisharp = {}, omnisharp = {},
tsserver = {}, tsserver = {},
pyright = {}, pyright = {},
@ -184,6 +185,10 @@ return {
local ensure_installed = vim.tbl_keys(servers or {}) local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, { vim.list_extend(ensure_installed, {
'stylua', -- Used to format lua code 'stylua', -- Used to format lua code
'eslint_d',
'prettier',
'prettierd',
'node-debug2-adapter',
}) })
require('mason-tool-installer').setup { ensure_installed = ensure_installed } require('mason-tool-installer').setup { ensure_installed = ensure_installed }