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 highlighting breaks down #237

Closed

Description

@peterzhu2118

Prerequisites

Description

Python syntax highlighting goes crazy when there are quotes in the docstring. See the issues in this image. There are highlighting problems on lines 1, 2, 6, 7, 11.
capture

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

C:\Users\Peter>atom --version

Atom    : 1.24.0
Electron: 1.6.16
Chrome  : 56.0.2924.87
Node    : 7.4.0

C:\Users\Peter>apm --version

apm  1.18.12
npm  3.10.10
node 6.9.5 x64
atom 1.24.0
python 2.7.11
git 2.9.0.windows.1
visual studio 2015

Activity

  1. winstliu commented on Mar 5, 2018

    @winstliu
    Contributor

    Thanks for the issue. This was in fact caused by language-python not recognizing typehinting, which was fixed in #228 and will be included in future Atom versions.

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