···77 finish
88endif
991010-" remove the keywords. we'll re-add them below
1110syntax clear pythonOperator
12111312syntax match pythonOperator "\<is\>"
···1514syntax match pyNiceOperator "\<in\>" conceal cchar=∈
1615syntax match pyNiceOperator "\<or\>" conceal cchar=∨
1716syntax match pyNiceOperator "\<and\>" conceal cchar=∧
1818-" include the space after “not” – if present – so that “not a” becomes “¬a”.
1919-" also, don't hide “not” behind ‘¬’ if it is after “is ”.
1717+2018syntax match pyNiceOperator "<=" conceal cchar=≤
2119syntax match pyNiceOperator ">=" conceal cchar=≥
2222-" only conceal “==” if alone, to avoid concealing SCM conflict markers
2020+2321syntax match pyNiceOperator "=\@<!===\@!" conceal cchar=≡
2422syntax match pyNiceOperator "!=" conceal cchar=≠
25232624syntax keyword pyNiceOperator sum conceal cchar=∑
2725syntax match pyNiceOperator "\<\%(math\.\)\?sqrt\>" conceal cchar=√
2826syntax match pyNiceKeyword "\<\%(math\.\)\?pi\>" conceal cchar=π
2727+2828+syntax match pyNiceOperator " \* " conceal cchar=·
29293030syntax keyword pyNiceStatement lambda conceal cchar=λ
3131