Compare commits

...

2 commits

Author SHA1 Message Date
3ec1f5c3e3 fix(snipe): more secure keymap to close buffer 2025-05-12 09:48:52 +02:00
4d54730b0f feat: add proselint 2025-05-12 09:48:13 +02:00
3 changed files with 45 additions and 36 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

@ -31,7 +31,7 @@ return {
}, },
navigate = { navigate = {
cancel_snipe = "q", cancel_snipe = "q",
close_buffer = "d", close_buffer = "D",
open_vsplit = "V", open_vsplit = "V",
open_split = "X", open_split = "X",
}, },

View file

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