diff --git a/README.md b/README.md index 164cd2b..ff6f2a2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lua/plugins/linting.lua b/lua/plugins/linting.lua index 41239a5..f441d4d 100644 --- a/lua/plugins/linting.lua +++ b/lua/plugins/linting.lua @@ -5,6 +5,7 @@ return { events = { "BufWritePost", "BufReadPost", "InsertLeave" }, linters_by_ft = { html = { "djlint" }, + markdown = { "proselint" }, javascript = { "eslint" }, typescript = { "eslint" }, javascriptreact = { "eslint" }, diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index a8a7799..c34003c 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -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 = {}, }, },