Files

58 lines
1.3 KiB
VimL
Raw Permalink Normal View History

2015-03-08 14:48:56 +01:00
" Vim syntax file
" Language: ARMv4
" Maintainer: ARM9
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn case ignore
if version >= 508 || !exists("did_armv4_syntax_inits")
if version < 508
let did_armv4_syntax_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
2015-03-08 15:13:34 +01:00
so <sfile>:p:h/include/arm_base_syntax.vim
2015-03-15 22:36:08 +01:00
HiLink armv4Instr armv4Instructions
HiLink armv4InstrCond armv4Instructions
HiLink armv4InstrNoCond armv4Instructions
HiLink armv4LDR armv4Instructions
HiLink armv4STR armv4Instructions
HiLink armv4Stack armv4Instructions
HiLink armv4SWP armv4Instructions
2015-03-08 14:48:56 +01:00
2015-03-15 22:36:08 +01:00
HiLink armNumericOp armOperator
HiLink armRelative armOperator
2015-03-08 14:48:56 +01:00
" Link to standard syn groups so the 'colorschemes' work
2015-03-15 22:36:08 +01:00
HiLink armComment Comment
2015-07-15 18:22:40 +02:00
HiLink armOperator Operator
HiLink armNumber Constant
2015-03-15 22:36:08 +01:00
HiLink armString String
2015-03-08 14:48:56 +01:00
2015-07-15 18:22:40 +02:00
HiLink armIdentifier Function
HiLink armLabel Function
HiLink gasDirective Preproc
HiLink armDirective Preproc
2015-03-15 22:36:08 +01:00
HiLink armCPreProc Identifier
2015-03-08 14:48:56 +01:00
2015-03-15 22:36:08 +01:00
HiLink armRegister Type
2015-07-15 18:22:40 +02:00
HiLink armv4Instructions Keyword
2015-03-08 14:48:56 +01:00
2015-03-15 22:36:08 +01:00
HiLink armTodo Todo
2015-03-08 14:48:56 +01:00
delcommand HiLink
endif
let b:current_syntax = "armv4"