view runtime/plugin/spellfile.vim @ 18552:17ec36265fcb v8.1.2270

patch 8.1.2270: "gf" is not tested in Visual mode Commit: https://github.com/vim/vim/commit/0208b6b771161d1a668b3568f71dc2bde3614933 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 8 21:49:48 2019 +0100 patch 8.1.2270: "gf" is not tested in Visual mode Problem: "gf" is not tested in Visual mode. Solution: Add Visual mode test and test errors. (Dominique Pelle, closes #5197)
author Bram Moolenaar <Bram@vim.org>
date Fri, 08 Nov 2019 22:00:04 +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>'))