Closed smithtim closed 5 years ago
Thanks for the report! I can reproduce this highlighting with ("foo" "bar" "baz")
on macOS 10.12.6 with 1.34.0-nightly5. Do you think https://github.com/atom/language-clojure/issues/63 is the same, or different but similar issue?
Also, for future issues please use the issue template, the information in the template is super helpful for us when triaging issues.
Notice that "foo"
and "how"
are blue, "bar"
and "baz"
are green, and "are you"
and "test"
are gray. Also, 1
and 2
are orange and 3
is green.
63 may be the same issue. Perhaps the two could be merged by combining the examples from each? Here is a fuller example illustrating the behavior:
Thanks I'll go ahead and do that :+1:, we can always reopen this if necessary.
Edit by @rsese to add issue template
Prerequisites
Description
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:
Steps to Reproduce
test.clj
file with the content:Expected behavior: [What you expect to happen]
All 3 strings to be colored the same.
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
macOS 10.12.6
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:
atom version: 1.32.0 language-clojure version: 0.22.7