moved linter setup to dedicated plugin

This commit is contained in:
Baipyrus 2024-03-27 11:24:28 +01:00
parent 2e8aaaab7a
commit eea3e0eacc
2 changed files with 2 additions and 3 deletions

View File

@ -6,6 +6,8 @@ return {
config = function()
local lint = require 'lint'
lint.linters_by_ft = {
javascript = { 'eslint' },
typescript = { 'eslint' },
markdown = { 'markdownlint' },
}

View File

@ -178,9 +178,6 @@ return {
local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, {
'stylua', -- Used to format lua code
'eslint_d',
'prettier',
'prettierd',
'node-debug2-adapter',
})
require('mason-tool-installer').setup { ensure_installed = ensure_installed }