summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugof.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugof.vim')
-rw-r--r--runtime/ftplugof.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugof.vim b/runtime/ftplugof.vim
new file mode 100644
index 0000000..7828ff2
--- /dev/null
+++ b/runtime/ftplugof.vim
@@ -0,0 +1,13 @@
+" Vim support file to switch off loading plugins for file types
+"
+" Maintainer: Bram Moolenaar <Bram@vim.org>
+" Last Change: 2011 Oct 20
+
+if exists("did_load_ftplugin")
+ unlet did_load_ftplugin
+endif
+
+" Remove all autocommands in the filetypeplugin group, if any exist.
+if exists("#filetypeplugin")
+ silent! au! filetypeplugin *
+endif