view runtime/plugin/spellfile.vim @ 36182:f9ea756a6be0 draft default tip

runtime(netrw): remove extraneous closing bracket Commit: https://github.com/vim/vim/commit/be551dacb87a0542afd8b5c17b89e6749f2dc355 Author: Peter Aronoff <peter@aronoff.org> Date: Sun Sep 22 11:29:40 2024 +0200 runtime(netrw): remove extraneous closing bracket fixes: https://github.com/vim/vim/issues/15717 closes: https://github.com/vim/vim/issues/15718 Signed-off-by: Peter Aronoff <peter@aronoff.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 22 Sep 2024 11:45:03 +0200
parents 4027cefc2aab
children
line wrap: on
line source

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