Mercurial > vim
comparison runtime/syntax/manual.vim @ 7:3fc0f57ecb91 v7.0001
updated for version 7.0001
author | vimboss |
---|---|
date | Sun, 13 Jun 2004 20:20:40 +0000 |
parents | |
children | b9740fb41986 |
comparison
equal
deleted
inserted
replaced
6:c2daee826b8f | 7:3fc0f57ecb91 |
---|---|
1 " Vim syntax support file | |
2 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
3 " Last Change: 2001 Jun 04 | |
4 | |
5 " This file is used for ":syntax manual". | |
6 " It installs the Syntax autocommands, but no the FileType autocommands. | |
7 | |
8 if !has("syntax") | |
9 finish | |
10 endif | |
11 | |
12 " Load the Syntax autocommands and set the default methods for highlighting. | |
13 if !exists("syntax_on") | |
14 so <sfile>:p:h/synload.vim | |
15 endif | |
16 | |
17 let syntax_manual = 1 | |
18 | |
19 " Remove the connection between FileType and Syntax autocommands. | |
20 silent! au! syntaxset FileType | |
21 | |
22 " If the GUI is already running, may still need to install the FileType menu. | |
23 if has("gui_running") && !exists("did_install_syntax_menu") | |
24 source $VIMRUNTIME/menu.vim | |
25 endif |