Updated runtime files.
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
" Maintainer: Erik Wognsen <erik.wognsen@gmail.com>
|
||||
" Previous maintainer:
|
||||
" Kevin Dahlhausen <kdahlhaus@yahoo.com>
|
||||
" Last Change: 2010 Jan 9
|
||||
" Last Change: 2010 Apr 18
|
||||
|
||||
" Thanks to Ori Avtalion for feedback on the comment markers!
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.0 and later: Quit when a syntax file was already loaded
|
||||
@ -45,8 +47,16 @@ syn match octNumber "0[0-7][0-7]\+"
|
||||
syn match hexNumber "0[xX][0-9a-fA-F]\+"
|
||||
syn match binNumber "0[bB][0-1]*"
|
||||
|
||||
syn match asmComment "#.*"
|
||||
syn region asmComment start="/\*" end="\*/"
|
||||
syn keyword asmTodo contained TODO
|
||||
|
||||
" GAS supports various comment markers as described here:
|
||||
" http://sourceware.org/binutils/docs-2.19/as/Comments.html
|
||||
" I have commented out the ARM comment marker "@" by default as I think more
|
||||
" people are using "@" with the .type directive. See
|
||||
" http://sourceware.org/binutils/docs-2.19/as/Type.html
|
||||
syn region asmComment start="/\*" end="\*/" contains=asmTodo
|
||||
syn match asmComment "[#;!|].*" contains=asmTodo
|
||||
" syn match asmComment "@.*" contains=asmTodo
|
||||
|
||||
syn match asmInclude "\.include"
|
||||
syn match asmCond "\.if"
|
||||
@ -75,6 +85,7 @@ if version >= 508 || !exists("did_asm_syntax_inits")
|
||||
HiLink asmSection Special
|
||||
HiLink asmLabel Label
|
||||
HiLink asmComment Comment
|
||||
HiLink asmTodo Todo
|
||||
HiLink asmDirective Statement
|
||||
|
||||
HiLink asmInclude Include
|
||||
|
||||
Reference in New Issue
Block a user