feat: add proselint
This commit is contained in:
parent
a41a2376fb
commit
4d54730b0f
2 changed files with 9 additions and 0 deletions
5
lsp/proselint.lua
Normal file
5
lsp/proselint.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { "proselint" },
|
||||
filetypes = { "markdown", "text", "gitcommit", "plaintext" },
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue