Added vim jade plugin

This commit is contained in:
hellerve
2015-06-08 14:14:07 +02:00
parent ff3eb9019a
commit 8fb18c430b
3 changed files with 11 additions and 10 deletions

1
.vim/bundle/vim-jade Submodule

Submodule .vim/bundle/vim-jade added at 0aa231c9a5

View File

@@ -19,9 +19,9 @@ else
endif endif
syn keyword zeptoSyntax quote \| <- , typeof syn keyword zeptoSyntax quote \| <- , typeof \|\| &&
syn keyword zeptoSyntax lambda let let* letrec 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 define-syntax syntax-rules
syn keyword zeptoSyntax when unless syn keyword zeptoSyntax when unless
syn keyword zeptoSyntax set! set-car! set-cdr! 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 even? odd? exact? inexact?
syn keyword zeptoFunc 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 abs max min gcd lcm round floor ceiling ceil real imaginary
syn keyword zeptoFunc truncate numerator denominator generate sum product 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 symbol->string string->symbol
syn keyword zeptoFunc pair? null? cons car cdr null syn keyword zeptoFunc pair? null? cons car cdr null
syn keyword zeptoFunc list? list length syn keyword zeptoFunc list? list length list-append list-extend
syn keyword zeptoFunc list-ref list-tail append reverse map syn keyword zeptoFunc list-ref list-tail append reverse map reduce
syn keyword zeptoFunc for-each foldl foldr fold filter remove syn keyword zeptoFunc for-each foldl foldr fold filter remove
syn keyword zeptoFunc sort member memv memq syn keyword zeptoFunc sort member memv memq
syn keyword zeptoFunc assq assv assoc 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? make-vector vector vector-length
syn keyword zeptoFunc vector-ref vector-set! vector->list list->vector 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 procedure? apply compose
syn keyword zeptoFunc primitive? syn keyword zeptoFunc primitive?
syn keyword zeptoFunc negate curry uncurry syn keyword zeptoFunc negate curry uncurry
syn match zeptoAtom ,:\k+, contained
syn match zeptoSymbol ,\k+, contained syn match zeptoSymbol ,\k+, contained
syn cluster zeptoNormal contains=zeptoSyntax,zeptoFunc,zeptoDelimiter syn cluster zeptoNormal contains=zeptoSyntax,zeptoFunc,zeptoDelimiter
syn cluster zeptoQuotedStuff contains=zeptoSymbol syn cluster zeptoQuotedStuff contains=zeptoSymbol,zeptoAtom
syn cluster zeptoQuotedOrNormal contains=zeptoDelimiter syn cluster zeptoQuotedOrNormal contains=zeptoDelimiter
syn region zeptoQuotedStruc start="("rs=s+1 end=")"re=e-1 contains=@zeptoQuotedStuff,@zeptoQuotedOrNormal contained 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 zeptoNormal add=zeptoQuoted,zeptoComment,zeptoMultilineComment
syn cluster zeptoQuotedOrNormal add=zeptoComment,zeptoMultilineComment syn cluster zeptoQuotedOrNormal add=zeptoComment,zeptoMultilineComment
" syn match zeptoListComp "\[.+ \| \w+ <- .+]"
syn sync match matchPlace grouphere NONE "^[^ \t]" syn sync match matchPlace grouphere NONE "^[^ \t]"
if version >= 508 || !exists("zepto_syntax_init") if version >= 508 || !exists("zepto_syntax_init")
@@ -237,7 +236,7 @@ if version >= 508 || !exists("zepto_syntax_init")
HiLink zeptoQuoted Structure HiLink zeptoQuoted Structure
HiLink zeptoQuotedStruc Structure HiLink zeptoQuotedStruc Structure
HiLink zeptoSymbol Structure HiLink zeptoSymbol Structure
HiLink zeptoListComp Structure HiLink zeptoAtom Structure
HiLink zeptoDelimiter Delimiter HiLink zeptoDelimiter Delimiter
HiLink zeptoConstant Constant HiLink zeptoConstant Constant

1
vimrc
View File

@@ -80,6 +80,7 @@ Bundle 'christoomey/vim-tmux-navigator'
" Haskell " Haskell
Bundle 'raichoo/haskell-vim' Bundle 'raichoo/haskell-vim'
Bundle 'digitaltoad/vim-jade'
Bundle 'enomsg/vim-haskellConcealPlus' Bundle 'enomsg/vim-haskellConcealPlus'
Bundle 'eagletmt/ghcmod-vim' Bundle 'eagletmt/ghcmod-vim'
Bundle 'eagletmt/neco-ghc' Bundle 'eagletmt/neco-ghc'