mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
moved linter setup to dedicated plugin
This commit is contained in:
parent
2e8aaaab7a
commit
eea3e0eacc
@ -6,6 +6,8 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
local lint = require 'lint'
|
local lint = require 'lint'
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
|
javascript = { 'eslint' },
|
||||||
|
typescript = { 'eslint' },
|
||||||
markdown = { 'markdownlint' },
|
markdown = { 'markdownlint' },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,9 +178,6 @@ 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',
|
'node-debug2-adapter',
|
||||||
})
|
})
|
||||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
Loading…
Reference in New Issue
Block a user