robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
59eadebe33
master
1if vim . g . loaded_spellfile_plugin ~= nil then 2return 3end 4vim . g . loaded_spellfile_plugin =true 5 6vim . api . nvim_create_autocmd ( 'SpellFileMissing' , { 7group =vim . api . nvim_create_augroup ( 'nvim.spellfile' , {} ), 8desc ='Download missing spell files when setting spelllang' , 9callback =function ( args ) 10require ( 'nvim.spellfile' ). get ( args . match ) 11end , 12} )