My dotfiles. Period.

ini.vim 601B

123456789101112131415161718192021222324252627
  1. " Vim syntax file
  2. " Language: Vim 7.2 script
  3. " Filenames: *.ini, .hgrc, */.hg/hgrc
  4. " Maintainer: Peter Hosey
  5. " Last Change: Nov 11, 2008
  6. " Version: 7.2-02
  7. " Quit when a syntax file was already loaded
  8. if exists("b:current_syntax")
  9. finish
  10. endif
  11. syn match iniSection skipwhite contains=iniRule "^\[.\+\]$"
  12. syn match iniRule "^[^=:]\{-1,}="
  13. syn match iniRule "^[^:=]\{-1,}:"
  14. syn match iniComment skipwhite "^[#;].*"
  15. " Highlighting Settings
  16. " ====================
  17. hi def link iniSection Keyword
  18. hi def link iniRule Identifier
  19. hi def link iniComment Comment
  20. let b:current_syntax = "ini"