Add support for :winpos
[MacVim.git] / runtime / syntax / manual.vim
blob5ea373180a505922b9501363e87e87f4cfdc1ff5
1 " Vim syntax support file
2 " Maintainer:   Bram Moolenaar <Bram@vim.org>
3 " Last Change:  2008 Jan 26
5 " This file is used for ":syntax manual".
6 " It installs the Syntax autocommands, but no the FileType autocommands.
8 if !has("syntax")
9   finish
10 endif
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
17 let syntax_manual = 1
19 " Remove the connection between FileType and Syntax autocommands.
20 if exists('#syntaxset')
21   au! syntaxset FileType
22 endif
24 " If the GUI is already running, may still need to install the FileType menu.
25 " Don't do it when the 'M' flag is included in 'guioptions'.
26 if has("menu") && has("gui_running") && !exists("did_install_syntax_menu") && &guioptions !~# 'M'
27   source $VIMRUNTIME/menu.vim
28 endif