diff options
| author | Miguel <m.i@gmx.at> | 2018-05-29 20:27:28 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-05-29 20:27:28 +0200 |
| commit | 68b54b0d1729cd036fcba1c85f85ad4af6e9e3dc (patch) | |
| tree | 3d0f4e5eb1b147ae9ba193065d9c7b09f8e72f16 /vim/vim-potion/syntax/potionbytecode.vim | |
added vim stuff
Diffstat (limited to 'vim/vim-potion/syntax/potionbytecode.vim')
| -rw-r--r-- | vim/vim-potion/syntax/potionbytecode.vim | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vim/vim-potion/syntax/potionbytecode.vim b/vim/vim-potion/syntax/potionbytecode.vim new file mode 100644 index 0000000..24e2e44 --- /dev/null +++ b/vim/vim-potion/syntax/potionbytecode.vim @@ -0,0 +1,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" |
