summaryrefslogtreecommitdiff
path: root/xxx/vim-old/vim-potion/syntax/potionbytecode.vim
blob: 24e2e4436342ccaa8f62c837590f2a318240ee4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" minimalistic syntax highlighting for testing purposes

if exists("b:current_syntax")
    finish
endif

syntax keyword potionKeyword code assign


syntax match potionNumber "\v\d+"
syntax region potionString start=/\v"/ skip=/\v\\./ end=/\v"/


highlight link potionString String
highlight link potionKeyword Keyword
highlight link potionNumber Number

let b:current_syntax = "potionbytecode"