Skip to content

Commit 389afbd

Browse files
committed
Remove bg on quoted strings inside metadata
1 parent 8152122 commit 389afbd

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### WIP
2+
3+
- Remove bg on quoted strings inside metadata
4+
15
### 4.2.2 - Sep 27, 2024
26

37
- cljfmt correctly indents forms with custom rules - again

Clojure Sublimed Dark.sublime-color-scheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"rules":
4141
[
4242
{"name": "Strings",
43-
"scope": "string - meta.metadata, meta.quoted string - meta.metadata",
43+
"scope": "string - meta.metadata, meta.quoted string - meta.metadata - comment",
4444
"foreground": "var(green)"},
4545

4646
{"name": "Escapes",

Clojure Sublimed Light.sublime-color-scheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"rules":
4040
[ {"name": "Strings",
41-
"scope": "string - meta.metadata, meta.quoted string - meta.metadata",
41+
"scope": "string - meta.metadata, meta.quoted string - meta.metadata - comment",
4242
"background": "var(green)"},
4343

4444
{"name": "Escapes",

test_scheme/color_scheme.clj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ abc ab/cd _abc
5757

5858
; Quotes
5959
'{:symbols [name/space _ _abc]
60-
:string "str\n\x"
60+
:strings ["str\n\x" '"str"]
6161
:regexp #"\p{L}) \y"
6262
:number 123.456
6363
:keyword :key/word
@@ -72,7 +72,7 @@ abc ab/cd _abc
7272

7373
; Syntax quotes
7474
`{:symbols [name/space _ _abc]
75-
:string "str\n\x"
75+
:strings ["str\n\x" '"str"]
7676
:regexp #"\p{L}) \y"
7777
:number 123.456
7878
:keyword :key/word
@@ -86,7 +86,7 @@ abc ab/cd _abc
8686
(comment form))))}
8787

8888
`{:symbols [name/space _ _abc]
89-
:string "str\n\x"
89+
:strings ["str\n\x" '"str"]
9090
:regexp #"\p{L}) \y"
9191
:number 123.456
9292
:keyword :key/word
@@ -100,7 +100,7 @@ abc ab/cd _abc
100100
(comment form))))}
101101

102102
`~{:symbols [name/space _ _abc]
103-
:string "str\n\x"
103+
:strings ["str\n\x" '"str"]
104104
:regexp #"\p{L}) \y"
105105
:number 123.456
106106
:keyword :key/word
@@ -115,7 +115,7 @@ abc ab/cd _abc
115115

116116
; Line comments
117117
; {:symbols [name/space _ _abc]
118-
; :string "str\n\x"
118+
; :strings ["str\n\x" '"str"]
119119
; :regexp #"\p{L}) \y"
120120
; :number 123.456
121121
; :keyword :key/word
@@ -130,7 +130,7 @@ abc ab/cd _abc
130130

131131
; Reader comments
132132
#_{:symbols [name/space _ _abc]
133-
:string "str\n\x"
133+
:strings ["str\n\x" '"str"]
134134
:regexp #"\p{L}) \y"
135135
:number 123.456
136136
:keyword :key/word
@@ -146,7 +146,7 @@ abc ab/cd _abc
146146
; Form comments
147147
(comment
148148
{:symbols [name/space _ _abc]
149-
:string "str\n\x"
149+
:strings ["str\n\x" '"str"]
150150
:regexp #"\p{L}) \y"
151151
:number 123.456
152152
:keyword :key/word

0 commit comments

Comments
 (0)