tall, condensed bitmap font for geeks
1" This is a fork of vim-cute-python
2" with a few character replacements to
3" play well with scientifica
4
5" we need the conceal feature (vim ≥ 7.3)
6if !has('conceal')
7 finish
8endif
9
10syntax clear pythonOperator
11
12syntax match pythonOperator "\<is\>"
13
14syntax match pyNiceOperator "\<in\>" conceal cchar=∈
15syntax match pyNiceOperator "\<or\>" conceal cchar=∨
16syntax match pyNiceOperator "\<and\>" conceal cchar=∧
17
18syntax match pyNiceOperator "<=" conceal cchar=≤
19syntax match pyNiceOperator ">=" conceal cchar=≥
20
21syntax match pyNiceOperator "=\@<!===\@!" conceal cchar=≡
22syntax match pyNiceOperator "!=" conceal cchar=≠
23
24syntax keyword pyNiceOperator sum conceal cchar=∑
25syntax match pyNiceOperator "\<\%(math\.\)\?sqrt\>" conceal cchar=√
26syntax match pyNiceKeyword "\<\%(math\.\)\?pi\>" conceal cchar=π
27
28syntax keyword pyNiceStatement lambda conceal cchar=λ
29
30hi link pyNiceOperator Operator
31hi link pyNiceStatement Statement
32hi link pyNiceKeyword Keyword
33hi! link Conceal Operator
34
35setlocal conceallevel=1