4.0.0
Syntax has been significantly reworked:
- New syntax that can highlight reader comments
comment.reader
together with the following form - Highlight
(comment ...)
blocks ascomment.form
- Highlight namespaces in symbols as
meta.namespace.symbol
- Highlight unused symbols as
source.symbol.unused
- Properly highlight
entity.name
indef*
forms only at second position, skipping all meta/comments - Quote & syntax quote highlight following form as
meta.quoted
andmeta.quoted.syntax
- Metadata highlights following form as
meta.metadata
- Octal & arbitrary radix integers
- Better keyword detection
Built-in color scheme to utilize REPL and new syntax features:
Option to use cljfmt
for code formatting:
- Download
cljfmt
binary fromhttps://github.com/weavejester/cljfmt/releases/latest
- Add
cljfmt
to$PATH
- In Sublime Text, open
Preferences: Settings
- Add
"clojure_sublimed_formatter": "cljfmt"
Other changes:
- Removed separate EDN syntax, merged with main Clojure (Sublimed)
- Settings can now be specified in main
Preferences.sublime-settings
as well. Just prependclojure_sublimed_
to each setting’s name. - REPL can detect namespaces with meta on ns form
- Detect
.shadow-cljs/nrepl.port
and.shadow-cljs/socket-repl.port
- Connect commands now accept
timeout
argument for automation scenarios like “start clojure, start trying to connect to REPL until port is available”