From f70d5dc9b1f546bcfae67f067fe2e3b67f94ca45 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 3 Nov 2021 19:59:44 +0100 Subject: improving dotfiles --- xxx/vim-old/vim-potion/syntax/potionbytecode.vim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 xxx/vim-old/vim-potion/syntax/potionbytecode.vim (limited to 'xxx/vim-old/vim-potion/syntax/potionbytecode.vim') 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" -- cgit v1.2.3