summaryrefslogtreecommitdiffstats
path: root/runtime/ftoff.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftoff.vim')
-rw-r--r--runtime/ftoff.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/ftoff.vim b/runtime/ftoff.vim
new file mode 100644
index 0000000..a33b096
--- /dev/null
+++ b/runtime/ftoff.vim
@@ -0,0 +1,12 @@
+" Vim support file to switch off detection of 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("did_load_filetypes")
+ unlet did_load_filetypes
+endif
+
+" Remove all autocommands in the filetypedetect group
+silent! au! filetypedetect *