Skip to content

Annotations not highlighted inside Python docstrings #101

Description

@AlexanderElyseev

Hello,
It looks like the TODO/FIXME annotations are highlighted correctly in regular comments, but not inside Python docstrings (triple-quoted string literals).

Image

Expected behavior: TODO/FIXME annotations are highlighted regardless of whether they appear in a comment or a docstring.

Actual behavior: Highlighting only works inside # comment nodes. Docstrings are not matched.

Versions:

  • zed 1.5.5
  • comments highlighter 0.6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    grammarThis is something that needs to be addressed in the grammar first

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions