diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-09 21:50:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-09 21:50:44 +0000 |
commit | 9da17d7c57071c306565da6a35c3704db1916b78 (patch) | |
tree | 7c3a8aaadc469baa93b14e8d7ae22e974450f036 /runtime/ftplugof.vim | |
parent | 78a8404f8b6ad0152614d5fdc3ec277444c1eee5 (diff) |
Update runtime files
Diffstat (limited to 'runtime/ftplugof.vim')
-rw-r--r-- | runtime/ftplugof.vim | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/runtime/ftplugof.vim b/runtime/ftplugof.vim index 7828ff2c15..e0505ce62f 100644 --- a/runtime/ftplugof.vim +++ b/runtime/ftplugof.vim @@ -1,13 +1,15 @@ -" Vim support file to switch off loading plugins for file types -" -" Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2011 Oct 20 +vim9script -if exists("did_load_ftplugin") - unlet did_load_ftplugin +# Vim support file to switch off loading plugins for file types +# +# Maintainer: Bram Moolenaar <Bram@vim.org> +# Last Change: 2022 Feb 09 + +if exists("g:did_load_ftplugin") + unlet g:did_load_ftplugin endif -" Remove all autocommands in the filetypeplugin group, if any exist. +# Remove all autocommands in the filetypeplugin group, if any exist. if exists("#filetypeplugin") silent! au! filetypeplugin * endif |