nvim: Use nvim-lint for linting markdown with vale
This effectively reverts3ea83c6
andf4ee744
.
This commit is contained in:
parent
f9e410494c
commit
6340486b46
3 changed files with 4 additions and 2 deletions
|
@ -2,5 +2,7 @@ vim.bo.textwidth = 80
|
|||
|
||||
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
||||
buffer = 0,
|
||||
command = 'Vale',
|
||||
callback = function()
|
||||
require("lint").try_lint()
|
||||
end,
|
||||
})
|
||||
|
|
|
@ -10,6 +10,7 @@ nvim_lint.linters_by_ft = {
|
|||
haskell = { 'hlint' },
|
||||
javascript = { 'eslint_d' },
|
||||
lua = { 'luacheck' },
|
||||
markdown = { 'vale' },
|
||||
python = { 'pylint' },
|
||||
sh = { 'shellcheck' },
|
||||
typescript = { 'eslint_d' },
|
||||
|
|
|
@ -87,7 +87,6 @@ local init = function ()
|
|||
}
|
||||
use 'andymass/vim-matchup'
|
||||
use 'christoomey/vim-tmux-navigator'
|
||||
use 'marcelofern/vale.nvim'
|
||||
use {
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
|
|
Loading…
Reference in a new issue