1" Vim syntax file 2" Language: Configuration File (ini file) for MSDOS/MS Windows 3" Version: 2.1 4" Original Author: Sean M. McKee <[email protected]> 5" Previous Maintainer: Nima Talebi <[email protected]> 6" Current Maintainer: Hong Xu <[email protected]> 7" Homepage: http://www.vim.org/scripts/script.php?script_id=3747 8" https://bitbucket.org/xuhdev/syntax-dosini.vim 9" Last Change: 2011 Nov 8 10 11 12" quit when a syntax file was already loaded 13if exists("b:current_syntax") 14 finish 15endif 16 17" shut case off 18syn case ignore 19 20syn match dosiniNumber "\<\d\+\>" 21syn match dosiniNumber "\<\d*\.\d\+\>" 22syn match dosiniNumber "\<\d\+e[+-]\=\d\+\>" 23syn match dosiniLabel "^.\{-}=" 24syn region dosiniHeader start="^\s*\[" end="\]" 25syn match dosiniComment "^[#;].*$" 26 27" Define the default highlighting. 28" Only when an item doesn't have highlighting yet 29 30hi def link dosiniNumber Number 31hi def link dosiniHeader Special 32hi def link dosiniComment Comment 33hi def link dosiniLabel Type 34 35 36let b:current_syntax = "dosini" 37 38" vim: sts=2 sw=2 et 39