11%YAML 1.2
22---
3- # http ://www.sublimetext.com/docs/3 /syntax.html
3+ # https ://www.sublimetext.com/docs/syntax.html
44name : Clojure (Sublimed)
5- file_extensions : [clj, cljs, cljc, cljx, boot, bb]
5+ file_extensions : [clj, cljs, cljc, cljx, boot, bb, edn ]
66scope : source.clojure
77variables :
88 wsb : ' (?<=^|[\s,()\[\]{}~'' `"^@]|#_)'
@@ -229,11 +229,12 @@ contexts:
229229 - include : forms
230230
231231 keyword :
232- - match : ' {{wsb}}(::?){{keyword}}(?: (/){{keyword}})? {{wse}}'
232+ - match : ' {{wsb}}(::?)(?: {{keyword}}|({{keyword}}) (/){{keyword}}){{wse}}'
233233 scope : constant.other.keyword.clojure
234234 captures :
235- 1 : punctuation.definition.constant.begin.clojure
236- 2 : punctuation.definition.constant.namespace.clojure
235+ 1 : punctuation.definition.keyword.begin.clojure
236+ 2 : meta.namespace.keyword.clojure
237+ 3 : punctuation.definition.namespace.clojure
237238 pop : 1
238239
239240 integer :
@@ -353,7 +354,7 @@ contexts:
353354 scope : source.symbol.def.clojure
354355 captures :
355356 1 : meta.namespace.symbol.clojure
356- 2 : punctuation.definition.symbol. namespace.clojure
357+ 2 : punctuation.definition.namespace.clojure
357358 pop : 1
358359 push : list_second
359360
@@ -362,7 +363,7 @@ contexts:
362363 scope : source.symbol.clojure entity.name.clojure
363364 captures :
364365 1 : meta.namespace.symbol.clojure
365- 2 : punctuation.definition.symbol. namespace.clojure
366+ 2 : punctuation.definition.namespace.clojure
366367 pop : 1
367368 push : list_rest
368369
@@ -371,15 +372,15 @@ contexts:
371372 scope : source.symbol.unused.clojure
372373 captures :
373374 1 : meta.namespace.symbol.clojure
374- 2 : punctuation.definition.symbol. namespace.clojure
375+ 2 : punctuation.definition.namespace.clojure
375376 pop : 1
376377
377378 symbol :
378379 - match : ' {{wsb}}(?:{{symbol}}|({{ns_symbol}})(/){{symbol}}){{wse}}'
379380 scope : source.symbol.clojure
380381 captures :
381382 1 : meta.namespace.symbol.clojure
382- 2 : punctuation.definition.symbol. namespace.clojure
383+ 2 : punctuation.definition.namespace.clojure
383384 pop : 1
384385
385386 vector :
0 commit comments