blob: 9a2972be113d71e1d802fe6480102378839ce6c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
syntax keyword scmNiceLambda lambda conceal cchar=λ
syntax clear schemeFunction
syntax match scmNiceOperator "<=" conceal cchar=≤
syntax match scmNiceOperator ">=" conceal cchar=≥
syn region scmNiceQuote matchgroup=secondAccent start=/'[`']*/ end=/[ \t\n()\[\]";]/me=e-1
syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*"/ skip=/\\[\\"]/ end=/"/
syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*|/ skip=/\\[\\|]/ end=/|/
syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*#\?(/ end=/)/ contains=ALLBUT,schemeQuasiquote,schemeQuasiquoteForm,schemeUnquote,schemeForm,schemeDatumCommentForm,schemeImport,@schemeImportCluster,@schemeSyntaxCluster
highlight link scmNiceLambda schemeSyntax
highlight link scmNiceOperator Noise
highlight link scmNiceQuote secondAccent
highlight! link Conceal Noise
setlocal conceallevel=1
|