robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. Keyesfix(runtime)!: move "tohtml" to pack/dist/opt/ #3455759eadebe33

master
355 B12 linesraw
1if vim.g.loaded_spellfile_plugin ~= nil then
2  return
3end
4vim.g.loaded_spellfile_plugin = true
5
6vim.api.nvim_create_autocmd('SpellFileMissing', {
7  group = vim.api.nvim_create_augroup('nvim.spellfile', {}),
8  desc = 'Download missing spell files when setting spelllang',
9  callback = function(args)
10    require('nvim.spellfile').get(args.match)
11  end,
12})