mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-09 12:35:04 +02:00
added markdown linting and formatting
This commit is contained in:
parent
c35e42337a
commit
fd43e168ee
6 changed files with 90 additions and 71 deletions
|
@ -6,7 +6,13 @@ return {
|
|||
config = function()
|
||||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
yaml = { 'yamllint' },
|
||||
markdown = { 'markdownlint' },
|
||||
typescript = { 'eslint_d' },
|
||||
javascript = { 'eslint_d' },
|
||||
vue = { 'eslint_d' },
|
||||
--python = { 'ruff' } linting already provided by ruff,
|
||||
json = { 'jsonlint' },
|
||||
}
|
||||
|
||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue