You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
The highlighting for an anonymous function definition such as (fn[x] ) (without a space between fn and [x]) should pick up that it's a special form as well as tokenize the fn and the [x] parts separately, as this is valid Clojure, and right now the highlighting shows fn[x] as a single token, this can be confusing to beginners such as myself.
Steps to Reproduce
Open up a new file, called test.clj (make sure the syntax is set to Clojure)
type (fn[x] x)
note the highlighting
Expected behavior:
fn and [x] to appear in different colors (and fn to come up with a different color as other special forms), to make it obvious they are different tokens.
Actual behavior:
fn[x] appears as a single atomic unit.
Reproduces how often:
Always
Versions
languange-clojure 0.22.1
Atom 1.13.0
The text was updated successfully, but these errors were encountered:
Description
The highlighting for an anonymous function definition such as
(fn[x] )
(without a space between fn and [x]) should pick up that it's a special form as well as tokenize thefn
and the[x]
parts separately, as this is valid Clojure, and right now the highlighting showsfn[x]
as a single token, this can be confusing to beginners such as myself.Steps to Reproduce
test.clj
(make sure the syntax is set to Clojure)(fn[x] x)
Expected behavior:
fn
and[x]
to appear in different colors (and fn to come up with a different color as other special forms), to make it obvious they are different tokens.Actual behavior:
fn[x]
appears as a single atomic unit.Reproduces how often:
Always
Versions
languange-clojure 0.22.1
Atom 1.13.0
The text was updated successfully, but these errors were encountered: