summaryrefslogtreecommitdiff
path: root/runtime/syntax/synload.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/synload.vim')
-rw-r--r--runtime/syntax/synload.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/syntax/synload.vim b/runtime/syntax/synload.vim
index 9b28fd8f4..48b5956b3 100644
--- a/runtime/syntax/synload.vim
+++ b/runtime/syntax/synload.vim
@@ -1,6 +1,6 @@
" Vim syntax support file
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2012 Feb 11
+" Last Change: 2012 Sep 25
" This file sets up for syntax highlighting.
" It is loaded from "syntax.vim" and "manual.vim".
@@ -46,6 +46,8 @@ fun! s:SynSet()
echohl None
endif
let s = &filetype
+ elseif s == "OFF"
+ let s = ""
endif
if s != ""