diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-09-28 21:16:38 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-09-28 21:16:38 +0200 |
| commit | ad66fa30b43d606ab63e93b5444dffd40705dbed (patch) | |
| tree | ab7d49ae8dadd3df8cf5e0652a5d2fbff34f01fe | |
| parent | feat: move lsp configs to `lsp/` (diff) | |
| download | nvim-ad66fa30b43d606ab63e93b5444dffd40705dbed.tar.gz | |
feat(markdown): add bindings for jumping between spelling errors
| -rw-r--r-- | ftplugin/markdown.lua | 5 | ||||
| -rw-r--r-- | spell/en.utf-8.add | 4 | ||||
| -rw-r--r-- | spell/en.utf-8.add.spl | bin | 270 -> 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 Binary files differindex fb71d0a..d86e62e 100644 --- a/spell/en.utf-8.add.spl +++ b/spell/en.utf-8.add.spl |
