mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-15 17:53:32 +00:00
chore(nvim): move mason tools to visible place
This commit is contained in:
@@ -7,7 +7,6 @@ require 'utils'
|
|||||||
-- LSP Servers are installed and configured by lsp-setup.nvim
|
-- LSP Servers are installed and configured by lsp-setup.nvim
|
||||||
-- Mason formatters Conform uses to format files
|
-- Mason formatters Conform uses to format files
|
||||||
-- These are automatically configured by zapling/mason-conform.nvim
|
-- These are automatically configured by zapling/mason-conform.nvim
|
||||||
|
|
||||||
local lsp_servers = {
|
local lsp_servers = {
|
||||||
bashls = {},
|
bashls = {},
|
||||||
-- csharp_ls = {},
|
-- csharp_ls = {},
|
||||||
@@ -111,6 +110,28 @@ local lsp_servers = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Mason tools to automatically install and configure.
|
||||||
|
-- These are automatically configured by WhoIsSethDaniel/mason-tool-installer.nvim
|
||||||
|
local mason_tools = {
|
||||||
|
'actionlint',
|
||||||
|
'editorconfig-checker',
|
||||||
|
'goimports',
|
||||||
|
'gotests',
|
||||||
|
'phpcbf',
|
||||||
|
'phpmd',
|
||||||
|
'phpstan',
|
||||||
|
'pint',
|
||||||
|
'prettierd',
|
||||||
|
'semgrep',
|
||||||
|
'shellcheck',
|
||||||
|
'shfmt',
|
||||||
|
'staticcheck',
|
||||||
|
'stylua',
|
||||||
|
'trivy',
|
||||||
|
'vint',
|
||||||
|
'yamlfmt',
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
-- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
|
-- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
|
||||||
-- used for completion, annotations and signatures of Neovim apis
|
-- used for completion, annotations and signatures of Neovim apis
|
||||||
@@ -199,25 +220,7 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
auto_update = true,
|
auto_update = true,
|
||||||
ensure_installed = {
|
ensure_installed = mason_tools,
|
||||||
'actionlint',
|
|
||||||
'editorconfig-checker',
|
|
||||||
'goimports',
|
|
||||||
'gotests',
|
|
||||||
'phpcbf',
|
|
||||||
'phpmd',
|
|
||||||
'phpstan',
|
|
||||||
'pint',
|
|
||||||
'prettierd',
|
|
||||||
'semgrep',
|
|
||||||
'shellcheck',
|
|
||||||
'shfmt',
|
|
||||||
'staticcheck',
|
|
||||||
'stylua',
|
|
||||||
'trivy',
|
|
||||||
'vint',
|
|
||||||
'yamlfmt',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user