Python "and" operator defined as both a keyword and keyword.operator #9334
Labels
A-language-support
Area: Support for programming/text languages
C-bug
Category: This is a bug
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-good-first-issue
Call for participation: Issues suitable for new contributors
E-has-instructions
Call for participation: Has instructions for fixing the issue and opening a PR
Summary
I was trying to set the style of keywords for Python code in my custom theme, and I noticed that
and
was being styled too, even though the other Boolean operators were not. It turns out to be both akeyword
and akeyword.operator
.helix/runtime/queries/python/highlights.scm
Lines 206 to 222 in 17dd102
Reproduction Steps
No response
Helix log
No response
Platform
Linux
Terminal Emulator
alacritty
Installation Method
source
Helix Version
helix 23.10
The text was updated successfully, but these errors were encountered: