annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
649
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
1 " Vim plugin for downloading spell files
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 649
diff changeset
2 " Maintainer: The Vim Project <https://github.com/vim/vim>
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 649
diff changeset
3 " Last Change: 2023 Aug 10
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 649
diff changeset
4 " Former Maintainer: Bram Moolenaar <Bram@vim.org>
649
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
5
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
6 " Exit quickly when:
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
7 " - this plugin was already loaded
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
8 " - when 'compatible' is set
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
9 " - some autocommands are already taking care of spell files
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
10 if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
11 finish
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
12 endif
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
13 let loaded_spellfile_plugin = 1
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
14
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
15 " The function is in the autoload directory.
8157079cea85 updated for version 7.0191
vimboss
parents:
diff changeset
16 autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))