GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - IlyasYOY/spellfix.nvim: fix spelling at the speed of thought

This repository was archived by the owner on Oct 7, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
doc
doc
 
 
lua/spellfix
lua/spellfix
 
 
plugin
plugin
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.luacheckrc
.luacheckrc
 
 
.luarc.json
.luarc.json
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
stylua.toml
stylua.toml
 
 

Repository files navigation

spellfix.nvim

spellfix.nvim reviews Neovim spelling errors across a buffer or line range. It uses the same syntax-aware spell scanner as Neovim, then presents suggested replacements and review actions through vim.ui.select.

Screenshot 2026-07-11 at 23 48 56

Requirements

  • Neovim 0.11 or newer
  • No required plugin dependencies

Installation

With Neovim 0.12 or newer, use the built-in vim.pack:

vim.pack.add {
    { src = "https://github.com/IlyasYOY/spellfix.nvim" },
}

The plugin registers :SpellFix automatically. Calling setup() is optional.

Neovim 0.11 users should install the plugin with lazy.nvim or another package manager.

With lazy.nvim:

{
    "IlyasYOY/spellfix.nvim",
    opts = {
        suggestion_count = 10,
    },
}

Configuration

require("spellfix").setup {
    suggestion_count = 10,
}

suggestion_count controls how many results from Neovim's spellsuggest() are placed at the top of the picker.

Usage

:SpellFix
:'<,'>SpellFix

Without a range, :SpellFix reviews the whole buffer. Each picker contains suggested replacements followed by actions to enter a replacement, add the word to 'spellfile', skip it once, skip every remaining occurrence during the current review, or stop.

The plugin temporarily enables 'spell' in the target window and restores its original value when the review ends. It respects syntax regions configured through @Spell and @NoSpell.

Lua API

local spellfix = require "spellfix"

local started, err = spellfix.review {
    winid = 0,
    line1 = 1,
    line2 = vim.api.nvim_buf_line_count(0),
}

if not started then
    vim.notify(err, vim.log.levels.ERROR)
end

review() is asynchronous and defaults to the current window and its whole buffer. Only one review may be active for a buffer at a time.

Health

Run :checkhealth spellfix to verify the command, built-in spell functions, UI functions, and the current buffer's first spellfile target. An empty or unwritable target is reported as a warning because words selected with the add action cannot be persisted.

See :help spellfix for the complete Vim help reference.

Development

make help
make check
make test NVIM_VERSION=v0.11.7
make test NVIM_VERSION=v0.12.5
make test NVIM_VERSION=nightly

make check checks formatting, runs Luacheck, executes the isolated headless Neovim test suite, and validates the tracked Vim help tags. Set NVIM_VERSION to test a downloaded release, for example make test NVIM_VERSION=v0.11.7.

License

MIT

About

fix spelling at the speed of thought

Topics

luaneovim-pluginspelling

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.