summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugof.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugof.mnv')
-rw-r--r--mnv/runtime/ftplugof.mnv16
1 files changed, 16 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugof.mnv b/mnv/runtime/ftplugof.mnv
new file mode 100644
index 0000000000..5de30921b7
--- /dev/null
+++ b/mnv/runtime/ftplugof.mnv
@@ -0,0 +1,16 @@
+mnv9script
+
+# MNV support file to switch off loading plugins for file types
+#
+# Maintainer: The MNV Project <https://github.com/Project-Tick/Project-Tick>
+# Last Change: 2023 Aug 10
+# Former Maintainer: Bram Moolenaar <Bram@mnv.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