aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-09-28 21:16:38 +0200
committerPolesznyák Márk <contact@pml68.dev>2025-09-28 21:16:38 +0200
commitad66fa30b43d606ab63e93b5444dffd40705dbed (patch)
treeab7d49ae8dadd3df8cf5e0652a5d2fbff34f01fe
parentfeat: move lsp configs to `lsp/` (diff)
downloadnvim-ad66fa30b43d606ab63e93b5444dffd40705dbed.tar.gz
feat(markdown): add bindings for jumping between spelling errors
-rw-r--r--ftplugin/markdown.lua5
-rw-r--r--spell/en.utf-8.add4
-rw-r--r--spell/en.utf-8.add.splbin270 -> 324 bytes
3 files changed, 8 insertions, 1 deletions
diff --git a/ftplugin/markdown.lua b/ftplugin/markdown.lua
index c3e2be1..9bc33a5 100644
--- a/ftplugin/markdown.lua
+++ b/ftplugin/markdown.lua
@@ -1,2 +1,5 @@
-vim.opt_local.spelllang = 'en_us'
vim.opt_local.spell = true
+vim.opt_local.spelllang = 'en_us'
+
+vim.keymap.set("n", "<C-n>", "]s")
+vim.keymap.set("n", "<C-p>", "[s")
diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add
index a887f1f..5f2dc74 100644
--- a/spell/en.utf-8.add
+++ b/spell/en.utf-8.add
@@ -17,3 +17,7 @@ SVG
focusable
backported
sudo
+sourcehut
+sr.ht
+colorschemes
+struct
diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl
index fb71d0a..d86e62e 100644
--- a/spell/en.utf-8.add.spl
+++ b/spell/en.utf-8.add.spl
Binary files differ