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