diff options
Diffstat (limited to 'vim/vim-potion/syntax')
| -rw-r--r-- | vim/vim-potion/syntax/potion.vim | 37 | ||||
| -rw-r--r-- | vim/vim-potion/syntax/potionbytecode.vim | 18 |
2 files changed, 0 insertions, 55 deletions
diff --git a/vim/vim-potion/syntax/potion.vim b/vim/vim-potion/syntax/potion.vim deleted file mode 100644 index 2ca9dbc..0000000 --- a/vim/vim-potion/syntax/potion.vim +++ /dev/null @@ -1,37 +0,0 @@ -if exists("b:current_syntax") - finish -endif - -syntax keyword potionKeyword loop times to while -syntax keyword potionKeyword if elsif else -syntax keyword potionKeyword class return -syntax keyword potionFunction print join string - -syntax match potionOperator "\v\." -syntax match potionOperator "\v:" -syntax match potionOperator "\v\=" -syntax match potionOperator "\v\*" -syntax match potionOperator "\v/" -syntax match potionOperator "\v\+" -syntax match potionOperator "\v-" -syntax match potionOperator "\v\?" -syntax match potionOperator "\v\*\=" -syntax match potionOperator "\v/\=" -syntax match potionOperator "\v\+\=" -syntax match potionOperator "\v-\=" - -syntax match potionNumber "\v\d+" -syntax match potionNumber "\v0x\x+" - -syntax region potionString start=/\v"/ skip=/\v\\./ end=/\v"/ - -syntax match potionComment "\v#.*$" - -highlight link potionString String -highlight link potionOperator Operator -highlight link potionKeyword Keyword -highlight link potionFunction Function -highlight link potionComment Comment -highlight link potionNumber Number - -let b:current_syntax = "potion" diff --git a/vim/vim-potion/syntax/potionbytecode.vim b/vim/vim-potion/syntax/potionbytecode.vim deleted file mode 100644 index 24e2e44..0000000 --- a/vim/vim-potion/syntax/potionbytecode.vim +++ /dev/null @@ -1,18 +0,0 @@ -" 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" |
