Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Syntax formatting for % sign and number formatting like {0:.2%} #71

Closed

Description

@mandel01

Two string formatting issues that appear regardless of theme selected:

  1. Percent sign: Even using string.format() the syntax appears for the older % s nomenclature - first line in screenshot. A similar issue was reported in which percent signs are incorrectly colored in triple-quoted strings: % should not be highlighted in a triple quoted string #40.
  2. Number formatting changes the color: {0} appears correctly in the non-string color, but if formatting is applied {0:.2%} then it incorrectly displays in the string color - second line in screenshot.

atom_python_highlighting

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions