mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 01:46:31 +10:00
refactor(spell): cleanup
- prefer `stdpath(data)/site/spell` instead of looking for random dirs in 'runtimepath'. - drop unused functions `choose_directory`, `setup`, etc.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
vim.g.loaded_spellfile_plugin = true
|
||||
|
||||
--- Callback for SpellFileMissing: download missing .spl
|
||||
--- Downloads missing .spl file.
|
||||
---
|
||||
--- @param args { bufnr: integer, match: string }
|
||||
local function on_spellfile_missing(args)
|
||||
local spellfile = require('nvim.spellfile')
|
||||
|
||||
Reference in New Issue
Block a user