dotfiles/nvim/after/syntax/python.vim

5 lines
202 B
VimL
Raw Normal View History

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