We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5797f3 commit 11bcc65Copy full SHA for 11bcc65
grammars/src/pyfstring.inc.syntax.yaml
@@ -5,6 +5,11 @@ repository:
5
begin: (\b[fF])([bBuU])?(${marker})
6
end: (\3)${guard}
7
beginCaptures:
8
+ # "storage.type.string.python" class should be the first one,
9
+ # because Atom, VSCode and GitHub don't understand scopes
10
+ # separated by whitespace, and simply use the first one
11
+ # of them. Highlighting 'f' as 'storage.type' is more
12
+ # important for us than having other scopes.
13
'1': {name: storage.type.string.python
14
string.quoted.${line}.python
15
string.interpolated.python}
0 commit comments