aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 44a3567983..7469f86cf5 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -3,6 +3,11 @@
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2022 Jul 5
+" Only run this if enabled
+if !exists("do_legacy_filetype")
+ finish
+endif
+
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
finish