SkillAgentSearch skills...

Spellfile.nvim

🌕 Port of spellfile.vim to Lua without depending on netrw

Install / Use

/learn @cuducos/Spellfile.nvim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

[!NOTE] This project is not needed anymore, see https://github.com/neovim/neovim/pull/34940

spellfile.nvim Tests StyLua

Alternative for Vim's native spellfile.vim written in Lua and with no dependency on netrw.

Context

It looks like that nice feature of Vim/Neovim that automatically downloads missing spell files (e.g. on :set spell spelllang=pt) depends entirely on netwr:

Native spellfile.vim works using a SpellFileMissing auto command, and spellfile.nvim:

  • has no other dependency than Neovim
  • uses the same autocmd for seamless integration

You can see it working (without changing your config) by cloning this repo and:

$ nvim -u tests/init.lua

From there, try setting a language that is not installed, e.g. :set spell spelllang=pt.

Install

With lazy.nvim

{ "cuducos/spellfile.nvim" }

With packer.nvim:

use { "cuducos/spellfile.nvim" }

With vim-plug:

Plug 'cuducos/spellfile.nvim'

Tests

$ nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/ { minimal_init = 'tests/init.lua' }"
View on GitHub
GitHub Stars11
CategoryDevelopment
Updated5mo ago
Forks1

Languages

Lua

Security Score

92/100

Audited on Oct 26, 2025

No findings