view runtime/plugin/spellfile.vim @ 32515:d1794b2317b8 v9.0.1589

patch 9.0.1589: filetype test contains too many special characters Commit: https://github.com/vim/vim/commit/b140c114f641ac4cd4fb04e7bdec031295264a8d Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 29 17:06:05 2023 +0100 patch 9.0.1589: filetype test contains too many special characters Problem: Filetype test contains too many special characters. Solution: Use Vim9 syntax for a few things.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 May 2023 18:15:03 +0200
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>'))