1 " Vim syntax support file
2 " Maintainer: Bram Moolenaar <Bram@vim.org>
3 " Last Change: 1998 Dec 6
5 " This file is used for ":syntax off".
6 " It removes the autocommands and stops highlighting for all buffers.
10 " remove all syntax autocommands and remove the syntax for each buffer
13 au BufEnter * syn clear
14 au BufEnter * if exists("b:current_syntax") | unlet b:current_syntax | endif
15 doautoall syntax BufEnter *
19 " Just in case: remove all autocommands for the Syntax event
22 if exists("syntax_on")
25 if exists("syntax_manual")