aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/spellfile.vim
diff options
context:
space:
mode:
authorTom Ampuero <tom.ampuero.c@gmail.com>2025-08-08 16:31:57 +0100
committerJustin M. Keyes <justinkz@gmail.com>2025-10-26 00:33:41 +0200
commit7c5ff99e8a0ef7c345596df8a0c2eec80afd16b4 (patch)
treea10425e21679048f8c5130ba28bdd918ce1bd0c1 /runtime/plugin/spellfile.vim
parent5db35449917de353fb8e35cbd4edca381233f381 (diff)
downloadrneovim-7c5ff99e8a0ef7c345596df8a0c2eec80afd16b4.tar.gz
rneovim-7c5ff99e8a0ef7c345596df8a0c2eec80afd16b4.tar.bz2
rneovim-7c5ff99e8a0ef7c345596df8a0c2eec80afd16b4.zip
refactor(spell): migrate to Lua, drop netrw dependency
Problem: Spell file downloads relied on Vimscript and netrw (:Nread). If netrw is disabled, downloads fail. Solution: Port the logic to Lua as `nvim.spellfile` and wire it via a Lua plugin that handles `SpellFileMissing`. Use `vim.net.request()` with a timeout for HTTP, prompt via `vim.fn.input` and report via `vim.notify`. Closes #7189
Diffstat (limited to 'runtime/plugin/spellfile.vim')
-rw-r--r--runtime/plugin/spellfile.vim8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/plugin/spellfile.vim b/runtime/plugin/spellfile.vim
deleted file mode 100644
index e03659d6d6..0000000000
--- a/runtime/plugin/spellfile.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-" Vim plugin for downloading spell files
-
-if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
- finish
-endif
-let loaded_spellfile_plugin = 1
-
-autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))