Mistake.nvim
a spelling auto correct plugin for Neovim including over 20k entries
Install / Use
/learn @ck-zhang/Mistake.nvimREADME
mistake.nvim
mistake.nvim is a spelling autocorrect plugin for Neovim, based on GitHub's "Fixed typo" commits and common misspellings from Wikipedia.
Features
- Includes over 23k entries for correction
- Lazy loads the correction dictionary in chunks with dynamic timing to reduce startup performance impact
- Includes user command for adding personal corrections
- Includes UI for editing personal corrections
Installing (lazy.nvim)
{
"https://github.com/ck-zhang/mistake.nvim",
}
Configuration
If keymaps are wanted for personal corrections, the following configuration snippet can be applied:
{
'ck-zhang/mistake.nvim',
config = function()
local plugin = require 'mistake'
vim.defer_fn(function()
plugin.setup()
end, 500)
vim.keymap.set('n', '<leader>ma', plugin.add_entry, { desc = '[M]istake [A]dd entry' })
vim.keymap.set('n', '<leader>me', plugin.edit_entries, { desc = '[M]istake [E]dit entries' })
vim.keymap.set('n', '<leader>mc', plugin.add_entry_under_cursor, { desc = '[M]istake add [C]urrent word' })
end,
}
Personal Corrections
To add your own corrections, use :MistakeAdd;
to edit your personal dictionary, use :MistakeEdit.
These updates will take effect immediately, no restart required.
Feedback
Please create a PR for any faulty corrections you encounter, the entries are processed with NLTK to minimize faulty corrections, but quality isn't guaranteed.
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
