@@ -252,11 +252,6 @@ repository:
252
252
captures :
253
253
" 1" :
254
254
name : " keyword.control.flow.python"
255
- codetags :
256
- match : " (?:\\ b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\ b)"
257
- captures :
258
- " 1" :
259
- name : " keyword.codetag.notation.python"
260
255
" statement-keyword" :
261
256
patterns : [
262
257
{
@@ -988,24 +983,6 @@ repository:
988
983
include : " #fstring-formatting-singe-brace"
989
984
}
990
985
]
991
- " fstring-formatting-braces" :
992
- patterns : [
993
- {
994
- comment : " empty braces are illegal"
995
- match : " ({)(\\ s*?)(})"
996
- captures :
997
- " 1" :
998
- name : " constant.character.format.placeholder.other.python"
999
- " 2" :
1000
- name : " invalid.illegal.brace.python"
1001
- " 3" :
1002
- name : " constant.character.format.placeholder.other.python"
1003
- }
1004
- {
1005
- name : " constant.character.escape.python"
1006
- match : " ({{|}})"
1007
- }
1008
- ]
1009
986
" fstring-formatting-singe-brace" :
1010
987
name : " invalid.illegal.brace.python"
1011
988
match : " (}(?!}))"
@@ -1931,6 +1908,24 @@ repository:
1931
1908
include : " #regexp-base-common"
1932
1909
}
1933
1910
]
1911
+ " fstring-formatting-braces" :
1912
+ patterns : [
1913
+ {
1914
+ comment : " empty braces are illegal"
1915
+ match : " ({)(\\ s*?)(})"
1916
+ captures :
1917
+ " 1" :
1918
+ name : " constant.character.format.placeholder.other.python"
1919
+ " 2" :
1920
+ name : " invalid.illegal.brace.python"
1921
+ " 3" :
1922
+ name : " constant.character.format.placeholder.other.python"
1923
+ }
1924
+ {
1925
+ name : " constant.character.escape.python"
1926
+ match : " ({{|}})"
1927
+ }
1928
+ ]
1934
1929
" regexp-base-common" :
1935
1930
patterns : [
1936
1931
{
@@ -2066,6 +2061,11 @@ repository:
2066
2061
include : " #regexp-escape-catchall"
2067
2062
}
2068
2063
]
2064
+ codetags :
2065
+ match : " (?:\\ b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\ b)"
2066
+ captures :
2067
+ " 1" :
2068
+ name : " keyword.codetag.notation.python"
2069
2069
" comments-base" :
2070
2070
name : " comment.line.number-sign.python"
2071
2071
begin : " (\\ #)"
0 commit comments