diff options
| author | Miguel <m.i@gmx.at> | 2021-11-03 19:59:44 +0100 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2021-11-03 19:59:44 +0100 |
| commit | f70d5dc9b1f546bcfae67f067fe2e3b67f94ca45 (patch) | |
| tree | 3bffaa05b78db0e393bc44eb273f771e08320154 /xxx/vim-old/vim-potion/syntax/potionbytecode.vim | |
| parent | e3fb79099e233185825b248a0b275173bd182239 (diff) | |
improving dotfiles
Diffstat (limited to 'xxx/vim-old/vim-potion/syntax/potionbytecode.vim')
| -rw-r--r-- | xxx/vim-old/vim-potion/syntax/potionbytecode.vim | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/xxx/vim-old/vim-potion/syntax/potionbytecode.vim b/xxx/vim-old/vim-potion/syntax/potionbytecode.vim new file mode 100644 index 0000000..24e2e44 --- /dev/null +++ b/xxx/vim-old/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" |
