Added vim jade plugin
This commit is contained in:
@@ -19,9 +19,9 @@ else
|
||||
endif
|
||||
|
||||
|
||||
syn keyword zeptoSyntax quote \| <- , typeof
|
||||
syn keyword zeptoSyntax quote \| <- , typeof \|\| &&
|
||||
syn keyword zeptoSyntax lambda let let* letrec
|
||||
syn keyword zeptoSyntax if cond and or case define else
|
||||
syn keyword zeptoSyntax if cond and or nor case define else
|
||||
syn keyword zeptoSyntax define-syntax syntax-rules
|
||||
syn keyword zeptoSyntax when unless
|
||||
syn keyword zeptoSyntax set! set-car! set-cdr!
|
||||
@@ -43,7 +43,7 @@ syn keyword zeptoFunc zero? positive? negative? float?
|
||||
syn keyword zeptoFunc even? odd? exact? inexact?
|
||||
syn keyword zeptoFunc exact->inexact
|
||||
|
||||
syn keyword zeptoFunc + - * / quotient remainder modulo mod
|
||||
syn keyword zeptoFunc + - * / /. quotient remainder modulo mod
|
||||
syn keyword zeptoFunc abs max min gcd lcm round floor ceiling ceil real imaginary
|
||||
syn keyword zeptoFunc truncate numerator denominator generate sum product
|
||||
|
||||
@@ -82,8 +82,8 @@ syn keyword zeptoFunc symbol?
|
||||
syn keyword zeptoFunc symbol->string string->symbol
|
||||
|
||||
syn keyword zeptoFunc pair? null? cons car cdr null
|
||||
syn keyword zeptoFunc list? list length
|
||||
syn keyword zeptoFunc list-ref list-tail append reverse map
|
||||
syn keyword zeptoFunc list? list length list-append list-extend
|
||||
syn keyword zeptoFunc list-ref list-tail append reverse map reduce
|
||||
syn keyword zeptoFunc for-each foldl foldr fold filter remove
|
||||
syn keyword zeptoFunc sort member memv memq
|
||||
syn keyword zeptoFunc assq assv assoc
|
||||
@@ -95,16 +95,17 @@ syn keyword zeptoFunc head tail indexed-tail
|
||||
|
||||
syn keyword zeptoFunc vector? make-vector vector vector-length
|
||||
syn keyword zeptoFunc vector-ref vector-set! vector->list list->vector
|
||||
syn keyword zeptoFunc vector-fill!
|
||||
syn keyword zeptoFunc vector-fill! vector-append vector-extend
|
||||
|
||||
syn keyword zeptoFunc procedure? apply compose
|
||||
syn keyword zeptoFunc primitive?
|
||||
syn keyword zeptoFunc negate curry uncurry
|
||||
|
||||
syn match zeptoAtom ,:\k+, contained
|
||||
syn match zeptoSymbol ,\k+, contained
|
||||
|
||||
syn cluster zeptoNormal contains=zeptoSyntax,zeptoFunc,zeptoDelimiter
|
||||
syn cluster zeptoQuotedStuff contains=zeptoSymbol
|
||||
syn cluster zeptoQuotedStuff contains=zeptoSymbol,zeptoAtom
|
||||
syn cluster zeptoQuotedOrNormal contains=zeptoDelimiter
|
||||
|
||||
syn region zeptoQuotedStruc start="("rs=s+1 end=")"re=e-1 contains=@zeptoQuotedStuff,@zeptoQuotedOrNormal contained
|
||||
@@ -211,8 +212,6 @@ syn region zeptoMultilineComment start=/#|/ end=/|#/ contains=zeptoMultilineComm
|
||||
syn cluster zeptoNormal add=zeptoQuoted,zeptoComment,zeptoMultilineComment
|
||||
syn cluster zeptoQuotedOrNormal add=zeptoComment,zeptoMultilineComment
|
||||
|
||||
" syn match zeptoListComp "\[.+ \| \w+ <- .+]"
|
||||
|
||||
syn sync match matchPlace grouphere NONE "^[^ \t]"
|
||||
|
||||
if version >= 508 || !exists("zepto_syntax_init")
|
||||
@@ -237,7 +236,7 @@ if version >= 508 || !exists("zepto_syntax_init")
|
||||
HiLink zeptoQuoted Structure
|
||||
HiLink zeptoQuotedStruc Structure
|
||||
HiLink zeptoSymbol Structure
|
||||
HiLink zeptoListComp Structure
|
||||
HiLink zeptoAtom Structure
|
||||
|
||||
HiLink zeptoDelimiter Delimiter
|
||||
HiLink zeptoConstant Constant
|
||||
|
Reference in New Issue
Block a user