diff --git a/config/nvim/lua/plugins/coding.lua b/config/nvim/lua/plugins/coding.lua index 9f73748..5cdc566 100644 --- a/config/nvim/lua/plugins/coding.lua +++ b/config/nvim/lua/plugins/coding.lua @@ -15,6 +15,10 @@ return { }, }, keys = { + { + "ba", + desc = "Annotations / Comments", + }, { "baa", function() @@ -68,10 +72,12 @@ return { -- Clarify and beautify your comments using boxes and lines. -- https://github.com/LudoPinelli/comment-box.nvim { "LudoPinelli/comment-box.nvim", opts = {} }, + -- Mason + -- https://github.com/williamboman/mason.nvim { "williamboman/mason.nvim", - opts = { - ensure_installed = { + opts = function(_, opts) + vim.list_extend(opts.ensure_installed, { "actionlint", "ansible-language-server", "ansible-lint", @@ -86,18 +92,24 @@ return { "dockerfile-language-server", "editorconfig-checker", "fixjson", + "flake8", "html-lsp", "jq", + "jsonlint", + "luacheck", "nginx-language-server", "php-cs-fixer", + "phpcs", + "phpmd", "semgrep", - "sonarlint-language-server", - "stylua", "shellcheck", "shfmt", - "flake8", - }, - }, + "sonarlint-language-server", + "stylelint", + "stylua", + "yamllint", + }) + end, }, -- Vim plugin for automatic time tracking and metrics generated from your programming activity. -- https://github.com/wakatime/vim-wakatime diff --git a/config/nvim/lua/plugins/tools.lua b/config/nvim/lua/plugins/tools.lua deleted file mode 100644 index a9b1be6..0000000 --- a/config/nvim/lua/plugins/tools.lua +++ /dev/null @@ -1,24 +0,0 @@ -return { - { - "williamboman/mason.nvim", - opts = { - ensure_installed = { - "actionlint", - "ansible-lint", - "bash-language-server", - "commitlint", - "flake8", - "intelephense", - "jsonlint", - "luacheck", - "phpcs", - "phpmd", - "shellcheck", - "shfmt", - "stylelint", - "stylua", - "yamllint", - }, - }, - }, -}