vim/bundle/potion/syntax/potion.vim @ b033bc3ecfee
Add "fish/completions" to .hgignore.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Fri, 31 Aug 2012 10:30:43 -0400 |
| parents | 2b3419a7c1a9 |
| children | 4c036b4fcae9 |
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 potionComment "\v#.*$" syntax match potionOperatorBar "\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 potionOperatorBaz "\v\=" syntax region potionString start=/\v"/ skip=/\v\\./ end=/\v"/ syntax region potionString start=/\v'/ skip=/\v\\./ end=/\v'/ highlight link potionKeyword Keyword highlight link potionFunction Function highlight link potionOperator Operator highlight link potionComment Comment highlight link potionString String let b:current_syntax = "potion"