made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
16
gitportable/usr/share/vim/vim91/plugin/spellfile.vim
Normal file
16
gitportable/usr/share/vim/vim91/plugin/spellfile.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
" Vim plugin for downloading spell files
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2023 Aug 10
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" Exit quickly when:
|
||||
" - this plugin was already loaded
|
||||
" - when 'compatible' is set
|
||||
" - some autocommands are already taking care of spell files
|
||||
if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
|
||||
finish
|
||||
endif
|
||||
let loaded_spellfile_plugin = 1
|
||||
|
||||
" The function is in the autoload directory.
|
||||
autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))
|
||||
Reference in New Issue
Block a user