An open API service indexing awesome lists of open source software.

https://github.com/ck-zhang/mistake.nvim

a spelling auto correct plugin for Neovim including over 20k entries
https://github.com/ck-zhang/mistake.nvim

neovim neovim-plugin

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# mistake.nvim

![Demo](https://github.com/user-attachments/assets/9dea602d-588d-4ca2-8872-29ebb3d0b864)

**mistake.nvim** is a spelling autocorrect plugin for Neovim, based on [GitHub's *"Fixed typo"* commits](https://github.com/mhagiwara/github-typo-corpus) and common misspellings from [Wikipedia](https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings).

## 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)

```lua
{
"https://github.com/ck-zhang/mistake.nvim",
}
```
## 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.