summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugof.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugof.vim')
-rw-r--r--runtime/ftplugof.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/ftplugof.vim b/runtime/ftplugof.vim
new file mode 100644
index 0000000..e0505ce
--- /dev/null
+++ b/runtime/ftplugof.vim
@@ -0,0 +1,15 @@
+vim9script
+
+# 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.
+if exists("#filetypeplugin")
+ silent! au! filetypeplugin *
+endif