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 when string is first element of list #79

@smithtim

Description

@smithtim

Edit by @rsese to add issue template

Prerequisites

Description

screen shot 2018-10-24 at 10 58 49 am

The first element of the list is being highlighted as a function, when it should be highlighted as a string like the others.

For numbers, the highlighting is correct:

screen shot 2018-10-24 at 11 06 02 am

Steps to Reproduce

  1. Create a test.clj file with the content:
("foo" "bar" "baz")

Expected behavior: [What you expect to happen]

All 3 strings to be colored the same.

Actual behavior: [What actually happens]

screen shot 2018-10-24 at 10 58 49 am

Reproduces how often: [What percentage of the time does it reproduce?]

100%

Versions

atom-nightly -v
Atom    : 1.34.0-nightly5
Electron: 2.0.11
Chrome  : 61.0.3163.100
Node    : 8.9.3

macOS 10.12.6


screen shot 2018-10-24 at 10 58 49 am

The first element of the list is being highlighted as a function, when it should be highlighted as a string like the others.

For numbers, the highlighting is correct:

screen shot 2018-10-24 at 11 06 02 am

atom version: 1.32.0
language-clojure version: 0.22.7

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