-
Notifications
You must be signed in to change notification settings - Fork 8
/
arm.vim
70 lines (52 loc) · 1.78 KB
/
arm.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
" Vim syntax file
" Language: ARM
" Maintainer: ARM9
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn case ignore
if version >= 508 || !exists("did_arm_syntax_inits")
if version < 508
let did_arm_syntax_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
so <sfile>:p:h/include/armv6_base_syntax.vim
HiLink armv4Instr armv6Instructions
HiLink armv4Stack armv6Instructions
HiLink armv4SWP armv6Instructions
HiLink armv5InstrCond armv6Instructions
HiLink armv5InstrNoCond armv6Instructions
HiLink armv5Mul armv6Instructions
HiLink armv5LDR armv6Instructions
HiLink armv5STR armv6Instructions
HiLink armv6Instr armv6Instructions
HiLink armv6InstrNoCond armv6Instructions
HiLink armv6Mul armv6Instructions
HiLink armv6LDR armv6Instructions
HiLink armv6STR armv6Instructions
HiLink armv7Instr armv6Instructions
HiLink armVfpInstr armv6Instructions
HiLink armNeonInstr armv6Instructions
HiLink armNumericOp armOperator
HiLink armRelative armOperator
" Link to standard syn groups so the 'colorschemes' work
HiLink armComment Comment
HiLink armOperator Operator
HiLink armNumber Constant
HiLink armString String
HiLink armIdentifier Function
HiLink armLabel Function
HiLink gasDirective Preproc
HiLink armDirective Preproc
HiLink armCPreProc Identifier
HiLink armRegister Type
HiLink armv6Register Type
HiLink armv6Instructions Keyword
HiLink armTodo Todo
delcommand HiLink
endif
let b:current_syntax = "arm"