SkillAgentSearch skills...

Mistake.nvim

a spelling auto correct plugin for Neovim including over 20k entries

Install / Use

/learn @ck-zhang/Mistake.nvim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

mistake.nvim

Demo

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

View on GitHub
GitHub Stars52
CategoryDevelopment
Updated10d ago
Forks3

Languages

Lua

Security Score

100/100

Audited on Mar 15, 2026

No findings