summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugof.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugof.vim')
-rw-r--r--runtime/ftplugof.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugof.vim b/runtime/ftplugof.vim
new file mode 100644
index 0000000..46351d2
--- /dev/null
+++ b/runtime/ftplugof.vim
@@ -0,0 +1,16 @@
+vim9script
+
+# Vim support file to switch off loading plugins for file types
+#
+# Maintainer: The Vim Project <https://github.com/vim/vim>
+# Last Change: 2023 Aug 10
+# Former Maintainer: Bram Moolenaar <Bram@vim.org>
+
+if exists("g:did_load_ftplugin")
+ unlet g:did_load_ftplugin
+endif
+
+# Remove all autocommands in the filetypeplugin group, if any exist.
+if exists("#filetypeplugin")
+ silent! au! filetypeplugin *
+endif