feat: add proselint

This commit is contained in:
Oliver Ladner 2025-05-12 09:48:13 +02:00
commit 4d54730b0f
2 changed files with 9 additions and 0 deletions

5
lsp/proselint.lua Normal file
View file

@ -0,0 +1,5 @@
---@type vim.lsp.Config
return {
cmd = { "proselint" },
filetypes = { "markdown", "text", "gitcommit", "plaintext" },
}

View file

@ -11,6 +11,7 @@ vim.lsp.enable({
"tailwind",
"docker-compose",
"bicep",
"proselint",
})
-- Set highlight on search
@ -121,3 +122,6 @@ vim.diagnostic.config({
-- current_line = true,
-- },
})
-- Disable log because it's slowing down Neovim
vim.lsp.log_levels = "OFF"