feat: add proselint

This also removes vale from my config. I was annoyed at how much setup
vale needed before it could work, and find that proselint does what I
want without the extras of vale.
This commit is contained in:
Devin Haska 2024-06-07 15:30:20 -07:00
parent 51b484764d
commit a4a51853e1
No known key found for this signature in database
3 changed files with 3 additions and 9 deletions

View file

@ -5,6 +5,7 @@ return {
events = { "BufWritePost", "BufReadPost", "InsertLeave" },
linters_by_ft = {
html = { "djlint" },
markdown = { "proselint" },
javascript = { "eslint" },
typescript = { "eslint" },
javascriptreact = { "eslint" },

View file

@ -13,7 +13,6 @@ return {
"lua_ls",
"taplo", -- .toml
"tsserver",
"vale_ls",
"yamlls", -- .yml
},
},
@ -24,8 +23,8 @@ return {
ensure_installed = {
"djlint",
"prettierd",
"proselint",
"stylua",
"vale", -- Vale CLI
},
auto_update = true,
automatic_installation = true,
@ -47,7 +46,6 @@ return {
lua_ls = {},
taplo = {},
tsserver = {},
vale_ls = {},
yamlls = {},
},
},