vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

spellfile.vim (564B)


      1 " Vim plugin for downloading spell files
      2 " Maintainer:	The Vim Project <https://github.com/vim/vim>
      3 " Last Change:	2023 Aug 10
      4 " Former Maintainer:	Bram Moolenaar <Bram@vim.org>
      5 
      6 " Exit quickly when:
      7 " - this plugin was already loaded
      8 " - when 'compatible' is set
      9 " - some autocommands are already taking care of spell files
     10 if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
     11   finish
     12 endif
     13 let loaded_spellfile_plugin = 1
     14 
     15 " The function is in the autoload directory.
     16 autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))