home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / mac / vim55rt.sit / runtime / syntax / manual.vim < prev    next >
Encoding:
Text File  |  1999-09-25  |  716 b   |  28 lines  |  [TEXT/VIM!]

  1. " Vim syntax support file
  2. " Maintainer:    Bram Moolenaar <Bram@vim.org>
  3. " Last change:    1998 Dec 6
  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.  
  10.   " Load the Syntax autocommands and set the default methods for highlighting.
  11.   if !exists("syntax_on")
  12.     so <sfile>:p:h/synload.vim
  13.   endif
  14.  
  15.   let syntax_manual = 1
  16.  
  17.   " Remove the connection between FileType and Syntax autocommands.
  18.   au! syntax FileType
  19.  
  20.   " If the GUI is already running, may still need to install the FileType menu.
  21.   if has("gui_running") && !exists("did_install_syntax_menu")
  22.     source $VIMRUNTIME/menu.vim
  23.   endif
  24.  
  25. endif " has("syntax")
  26.  
  27. " vim: ts=8 sts=0
  28.