view runtime/plugin/spellfile.vim @ 13045:afd60028f7b7 v8.0.1398

patch 8.0.1398: :packadd does not load packages from the "start" directory commit https://github.com/vim/vim/commit/9e1d399e63903c6f84d7888ad8d84ebf4e29d8a1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 17 14:26:46 2017 +0100 patch 8.0.1398: :packadd does not load packages from the "start" directory Problem: :packadd does not load packages from the "start" directory. (Alejandro Hernandez) Solution: Make :packadd look in the "start" directory if those packages were not loaded on startup.
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Dec 2017 14:30:06 +0100
parents 8157079cea85
children 4027cefc2aab
line wrap: on
line source

" Vim plugin for downloading spell files
" Maintainer:  Bram Moolenaar <Bram@vim.org>
" Last Change: 2006 Feb 01

" 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>'))