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

@ -2,7 +2,7 @@
Uses [lazy.nvim][lazynvim] to manage plugins.
It's pretty opinionated. You might not like it.
It's opinionated. You might not like it.
## Who is this geared for?
@ -16,9 +16,4 @@ I've also added some plugins for writing in Markdown as I prefer it.
2. Run Neovim.
3. Wait for everything to install.
# Post Installation
- `vale` requires a configuration file to work. [Make sure one is present][valeconfig]. You may also need to run `vale sync` after adding it (if installed using Mason, make sure to run the binary installed by Mason and not the global one, if present).
[lazynvim]: https://github.com/folke/lazy.nvim
[valeconfig]: https://vale.sh/docs/topics/config/#global-configuration

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 = {},
},
},