它正在被
syntax keyword pythonOperator and in is or not
定义,似乎优先于
syntax match
(不允许重叠)。所以我们将清除这个定义,并用一个等价的
一个。
" ~/.vim/after/syntax/python.vim
syn clear pythonOperator
syn match pythonOperator /and\|is\|or\|not/
syn match pythonOperator /not in/ conceal cchar=â
syn match pythonOperator /in/ conceal cchar=â
pyOperator
pythonOperator
;一个原因是它已经在那里了(为了
in
,
and
is
,
or
和
not
:help 44.2
按照惯例,每个组名都以所定义语言的文件类型作为前缀。[…]在“csh”脚本的语法文件中,将使用名称“cshType”。因此,前缀等于“filetype”的值。