summaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-02-15 08:52:32 +0000
committerAkshay <[email protected]>2021-02-15 08:52:32 +0000
commitfcaf13a267b7bacd26ad8b2e952a793645e42bba (patch)
tree6e795b46b1fbefb05151e95c0346951d67fac4e7 /after
init
Diffstat (limited to 'after')
-rw-r--r--after/syntax/python.vim6
-rw-r--r--after/syntax/scheme.vim19
2 files changed, 25 insertions, 0 deletions
diff --git a/after/syntax/python.vim b/after/syntax/python.vim
new file mode 100644
index 0000000..278cdc2
--- /dev/null
+++ b/after/syntax/python.vim
@@ -0,0 +1,6 @@
1syntax keyword pyNiceLambda lambda conceal cchar=λ
2highlight link pyNiceLambda secondAccent
3
4highlight! link Conceal Noise
5
6setlocal conceallevel=1
diff --git a/after/syntax/scheme.vim b/after/syntax/scheme.vim
new file mode 100644
index 0000000..9a2972b
--- /dev/null
+++ b/after/syntax/scheme.vim
@@ -0,0 +1,19 @@
1syntax keyword scmNiceLambda lambda conceal cchar=λ
2
3syntax clear schemeFunction
4
5syntax match scmNiceOperator "<=" conceal cchar=≤
6syntax match scmNiceOperator ">=" conceal cchar=≥
7
8syn region scmNiceQuote matchgroup=secondAccent start=/'[`']*/ end=/[ \t\n()\[\]";]/me=e-1
9syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*"/ skip=/\\[\\"]/ end=/"/
10syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*|/ skip=/\\[\\|]/ end=/|/
11syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*#\?(/ end=/)/ contains=ALLBUT,schemeQuasiquote,schemeQuasiquoteForm,schemeUnquote,schemeForm,schemeDatumCommentForm,schemeImport,@schemeImportCluster,@schemeSyntaxCluster
12
13highlight link scmNiceLambda schemeSyntax
14highlight link scmNiceOperator Noise
15highlight link scmNiceQuote secondAccent
16
17highlight! link Conceal Noise
18
19setlocal conceallevel=1