this repo has no description
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

New python multiplication ligature

+4 -4
+4 -4
ligature_plugins/python.vim
··· 7 7 finish 8 8 endif 9 9 10 - " remove the keywords. we'll re-add them below 11 10 syntax clear pythonOperator 12 11 13 12 syntax match pythonOperator "\<is\>" ··· 15 14 syntax match pyNiceOperator "\<in\>" conceal cchar=∈ 16 15 syntax match pyNiceOperator "\<or\>" conceal cchar=∨ 17 16 syntax match pyNiceOperator "\<and\>" conceal cchar=∧ 18 - " include the space after “not” – if present – so that “not a” becomes “¬a”. 19 - " also, don't hide “not” behind ‘¬’ if it is after “is ”. 17 + 20 18 syntax match pyNiceOperator "<=" conceal cchar=≤ 21 19 syntax match pyNiceOperator ">=" conceal cchar=≥ 22 - " only conceal “==” if alone, to avoid concealing SCM conflict markers 20 + 23 21 syntax match pyNiceOperator "=\@<!===\@!" conceal cchar=≡ 24 22 syntax match pyNiceOperator "!=" conceal cchar=≠ 25 23 26 24 syntax keyword pyNiceOperator sum conceal cchar=∑ 27 25 syntax match pyNiceOperator "\<\%(math\.\)\?sqrt\>" conceal cchar=√ 28 26 syntax match pyNiceKeyword "\<\%(math\.\)\?pi\>" conceal cchar=π 27 + 28 + syntax match pyNiceOperator " \* " conceal cchar=· 29 29 30 30 syntax keyword pyNiceStatement lambda conceal cchar=λ 31 31