Skip to content

Commit 40b7512

Browse files
committed
fix(vscode): Some tweaks for better highlightning
1 parent 40a1c62 commit 40b7512

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
}
9191
},
9292
{
93-
"scope": "variable.function.keyword-call.inner.robotframework",
93+
"scope": "entity.name.function.keyword-call.keyword-call.inner.robotframework",
9494
"settings": {
9595
"fontStyle": "italic"
9696
}
@@ -102,20 +102,20 @@
102102
}
103103
},
104104
{
105-
"scope": "variable.function.keyword-call.robotframework",
105+
"scope": "entity.name.function.keyword-call.keyword-call.robotframework",
106106
"settings": {
107107
}
108108
},
109109
{
110110
"scope": "entity.name.function.testcase.name.robotframework",
111111
"settings": {
112-
"fontStyle": "bold underline"
112+
"fontStyle": "bold italic"
113113
}
114114
},
115115
{
116116
"scope": "entity.name.function.keyword.name.robotframework",
117117
"settings": {
118-
"fontStyle": "italic underline"
118+
"fontStyle": "bold italic"
119119
}
120120
},
121121
{
@@ -236,13 +236,14 @@
236236
"variable.other.readwrite.robotframework"
237237
],
238238
"keywordCall": [
239-
"variable.function.keyword-call.robotframework"
239+
"entity.name.function.keyword-call.robotframework"
240+
240241
],
241242
"keywordCallInner": [
242-
"variable.function.keyword-call.inner.robotframework"
243+
"entity.name.function.keyword-call.inner.robotframework"
243244
],
244245
"nameCall": [
245-
"variable.function.keyword-call.robotframework"
246+
"entity.name.function.keyword-call.robotframework"
246247
],
247248
"bddPrefix": [
248249
"keyword.modifier.bdd-prefix.robotframework"

syntaxes/robotframework.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"end": "^(?!\\s*\\.\\.\\.)",
125125
"beginCaptures": {
126126
"1": {
127-
"name": "variable.function.keyword-call.robotframework"
127+
"name": "entity.name.function.keyword-call.robotframework"
128128
}
129129
},
130130
"patterns": [
@@ -164,7 +164,7 @@
164164
]
165165
},
166166
"2": {
167-
"name": "variable.function.keyword-call.robotframework"
167+
"name": "entity.name.function.keyword-call.robotframework"
168168
}
169169
},
170170
"end": "^(?!\\s*\\.\\.\\.)",

0 commit comments

Comments
 (0)