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 / runtime / dos / ftplugin / nsis.vim < prev    next >
Encoding:
Text File  |  2010-08-14  |  575 b   |  23 lines

  1. " Vim ftplugin file
  2. " Language:         NSIS script
  3. " Maintainer:       Nikolai Weibull <now@bitwi.se>
  4. " Latest Revision:  2008-07-09
  5.  
  6. let s:cpo_save = &cpo
  7. set cpo&vim
  8.  
  9. if exists("b:did_ftplugin")
  10.   finish
  11. endif
  12. let b:did_ftplugin = 1
  13.  
  14. let b:undo_ftplugin = "setl com< cms< fo< def< inc<"
  15.  
  16. setlocal comments=s1:/*,mb:*,ex:*/,b:#,:; commentstring=;\ %s
  17. setlocal formatoptions-=t formatoptions+=croql
  18. setlocal define=^\\s*!define\\%(\\%(utc\\)\\=date\\|math\\)\\=
  19. setlocal include=^\\s*!include\\%(/NONFATAL\\)\\=
  20.  
  21. let &cpo = s:cpo_save
  22. unlet s:cpo_save
  23.