diff runtime/ftplugof.vim @ 27623:179c118424a6

Update runtime files Commit: https://github.com/vim/vim/commit/9da17d7c57071c306565da6a35c3704db1916b78 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 9 21:50:44 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Feb 2022 23:00:06 +0100
parents 49b08c9b9f5b
children 4027cefc2aab
line wrap: on
line diff
--- 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