robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
9f6d693e26
master
1" Vim syntax file 2" Language: Symbian meta-makefile definition (MMP) 3" Maintainer: Ron Aaron <ron@ronware.org> 4" Last Change: 2007/11/07 5" URL: http://ronware.org/wiki/vim/mmp 6" Filetypes: *.mmp 7 8" quit when a syntax file was already loaded 9if exists ( "b:current_syntax" ) 10finish 11endif 12 13syn case ignore 14 15syn match mmpComment "//. * " 16syn region mmpComment start = "/\* "end = "\*\/ " 17 18syn keyword mmpKeyword aif asspabi assplibrary aaspexports baseaddress 19syn keyword mmpKeyword debuglibrary deffile document epocheapsize 20syn keyword mmpKeyword epocprocesspriority epocstacksize exportunfrozen 21syn keyword mmpStorage lang library linkas macro nostrictdef option 22syn keyword mmpStorage resource source sourcepath srcdbg startbitmap 23syn keyword mmpStorage start end staticlibrary strictdepend systeminclude 24syn keyword mmpStorage systemresource target targettype targetpath uid 25syn keyword mmpStorage userinclude win32_library 26 27syn match mmpIfdef "\#\(include\|ifdef\|ifndef\|if\|endif\|else\|elif\) " 28 29syn match mmpNumber "\d+ " 30syn match mmpNumber "0x\x\+ " 31 32 33" Define the default highlighting. 34" Only when an item doesn't have highlighting yet 35if ! exists ( "did_mmp_syntax_inits" ) 36let did_mmp_syntax_inits = 1 37 38hi def link mmpComment Comment 39hi def link mmpKeyword Keyword 40hi def link mmpStorage StorageClass 41hi def link mmpString String 42hi def link mmpNumber Number 43hi def link mmpOrdinal Operator 44hi def link mmpIfdef PreCondit 45endif 46 47let b: current_syntax = "mmp" 48 49" vim: ts=8