-
Notifications
You must be signed in to change notification settings - Fork 0
/
hxpipe.vim
33 lines (28 loc) · 855 Bytes
/
hxpipe.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
" Vim syntax file
" Language: hxpipe output
" Maintainer: [Your Name or Alias]
" Last Change: [Today's Date]
if exists("b:current_syntax")
finish
endif
" Define syntax groups
syntax match hxComment "^*.*$"
syntax match hxProcInstr "^?.*$"
syntax match hxDoctype "^!.*$"
syntax match hxStartTag "^(.*$"
syntax match hxEndTag "^).*$"
syntax match hxEmptyElement "^|.\+$"
syntax match hxAttrName "^A[^ \t]\+"
syntax match hxText "^-.*$"
syntax match hxLineNumber "^L[0-9]*$"
" Link highlight groups to default groups
highlight link hxComment Comment
highlight link hxProcInstr PreProc
highlight link hxDoctype Type
highlight link hxStartTag Statement
highlight link hxEndTag Identifier
highlight link hxEmptyElement Special
highlight link hxAttrName Type
highlight link hxText String
highlight link hxLineNumber Number
let b:current_syntax = "hxpipe"