Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Müller
cherry
Commits
8539b546
Commit
8539b546
authored
Jul 03, 2013
by
Chris Müller
Browse files
start vim syntaxfile for cherry
parent
0b07b5f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/vim/cherry.vim
0 → 100644
View file @
8539b546
" Vim syntax file
" Language: Cherry
" Maintainer: Chris Mueller <ruunsmail@gmail.com>
if
version
<
600
syntax
clear
elseif
exists
(
"b:current_syntax"
)
finish
endif
syn
keyword cherryDefine
define
syn
keyword cherryBoolean #
t
#
f
#true #false
syn
match
cherryChar
"\<#\\.\>"
syn
match
cherryChar
"\<#\\space\>"
syn
match
cherryChar
"\<#\\newline\>"
syn
match
cherryChar
"\<#\\return\>"
syn
match
cherryChar
"\<#\\null\?\>"
syn
match
cherryChar
"\<#\\backspace\>"
syn
match
cherryChar
"\<#\\tab\>"
syn
match
cherryChar
"\<#\\linefeed\>"
syn
match
cherryChar
"\<#\\vtab\>"
syn
match
cherryChar
"\<#\\page\>"
syn
match
cherryChar
"\<#\\rubout\>"
syn
match
cherryChar
"\<#\\[0-7]\{1,3}\>"
syn
match
cherryChar
"\<#\\x[0-9a-f]\{1,2}\>"
syn
match
cherryChar
"\<#\\u[0-9a-f]\{1,6}\>"
syn
region cherryString start
=
/\%(\\\)\@<!"/
skip
=
/\\[\\"]/
end
=
/"/
hi
link cherryChar Character
hi
link cherryBoolean Boolean
hi
link cherryString String
hi
link cherryDefine Define
let
b:current_syntax
=
"cherry"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment