Skip to content

Commit a4cfcd3

Browse files
committed
♻️ Refactor: removed quotation mark around booleon in yaml files
1 parent 332ec74 commit a4cfcd3

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

config/cpp.syntax.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ keywords:
44
keyword:
55
- regex: "\\b(char|class|const|double|enum|explicit|friend|inline|int|long|namespace|operator|private|protected|public|short|signals|signed|slots|static|struct|template|typedef|typename|union|unsigned|virtual|void|volatile|foreach)\\b"
66
color: "#003478" # Dark Blue
7-
bold: "true"
7+
bold: true
88
- regex: "\\b(for|while|do|if|else)\\b"
99
color: "#D9001D" # Bright Red
1010
- regex: "(?<!\\w)#include(?!\\w)"
@@ -13,7 +13,7 @@ keywords:
1313
comment:
1414
- regex: "//[^\n]*"
1515
color: "#336934" # Dark Green
16-
italic: "true"
16+
italic: true
1717

1818
string:
1919
- regex: "\"(\\\\.|[^\"\\\\])*\""

config/markdown.syntax.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ keywords:
44
comment:
55
- regex: "#[^\n]*"
66
color: "#336934" # Dark Green
7-
italic: "true"
7+
italic: true
88

99
heading:
1010
- regex: "^#{1,6}\\s+.*"
1111
color: "#003478" # Dark Blue
12-
bold: "true"
12+
bold: true
1313

1414
bold:
1515
- regex: "(?<!\\*)\\*\\*([^*]+)\\*\\*(?!\\*)|(?<!_)__([^_]+)__(?!_)"
1616
color: "#D9001D" # Bright Red
17-
bold: "true"
17+
bold: true
1818

1919
italic:
2020
- regex: "(?<!\\*)\\*([^*]+)\\*(?!\\*)|(?<!_)_([^_]+)_(?!_)"
2121
color: "#D97706" # Orange
22-
italic: "true"
22+
italic: true
2323

2424
link:
2525
- regex: "\\[([^\\]]+)\\]\\(([^\\)]+)\\)"
@@ -36,7 +36,7 @@ keywords:
3636
blockquote:
3737
- regex: "^>\\s+.*"
3838
color: "#B48EAD" # Light Purple
39-
italic: "true"
39+
italic: true
4040

4141
todo:
4242
- regex: "- \\[ \\]"

config/python.syntax.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ keywords:
88
color: "#800080" # Purple
99
- regex: "\\bclass\\b"
1010
color: "#008000" # Green
11-
bold: "true"
11+
bold: true
1212

1313
comment:
1414
- regex: "#[^\n]*"
1515
color: "#808080" # Gray
16-
italic: "true"
16+
italic: true
1717

1818
string:
1919
- regex: "\"(\\\\.|[^\"\\\\])*\""

config/yaml.syntax.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ keywords:
44
comment:
55
- regex: "#[^\n]*"
66
color: "#336934" # Dark Green
7-
italic: "true"
7+
italic: true
88

99
keyword:
1010
- regex: "\\[([^\\]]*)\\]"

0 commit comments

Comments
 (0)