annotate runtime/syntax/manual.vim @ 6091:7090d7f160f7

Update runtime files. Add vroom file support.
author Bram Moolenaar <bram@vim.org>
date Sat, 26 Jul 2014 13:40:44 +0200
parents b9740fb41986
children 895150cd3e6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax support file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Maintainer: Bram Moolenaar <Bram@vim.org>
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
3 " Last Change: 2008 Jan 26
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " This file is used for ":syntax manual".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " It installs the Syntax autocommands, but no the FileType autocommands.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if !has("syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Load the Syntax autocommands and set the default methods for highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 if !exists("syntax_on")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 so <sfile>:p:h/synload.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 let syntax_manual = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " Remove the connection between FileType and Syntax autocommands.
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
20 if exists('#syntaxset')
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
21 au! syntaxset FileType
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
22 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " If the GUI is already running, may still need to install the FileType menu.
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
25 " Don't do it when the 'M' flag is included in 'guioptions'.
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
26 if has("menu") && has("gui_running") && !exists("did_install_syntax_menu") && &guioptions !~# 'M'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 source $VIMRUNTIME/menu.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 endif