dotfiles/nvim/after/syntax/python.vim

5 lines
202 B
VimL

syn clear pythonOperator
syn match pythonOperator '\V=\|-\|+\|*\|@\|/\|%\|&\||\|^\|~\|<\|>\|!='
syn keyword pythonOperatorKeyword and in is not or
syn cluster pythonExpression add=pythonOperatorKeyword