Skip to content

Commit 420333c

Browse files
jcs090218meain
authored andcommitted
Fix queries
1 parent 3ac2529 commit 420333c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

queries/cpp/highlights.scm

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
11
;; Keywords
22

3-
["catch"
3+
[
4+
"catch"
45
"class"
56
"co_await"
67
"co_return"
78
"co_yield"
8-
"concept"
9-
"consteval"
109
"constexpr"
1110
"constinit"
11+
"consteval"
1212
"delete"
1313
"explicit"
1414
"final"
1515
"friend"
1616
"mutable"
1717
"namespace"
18-
"new"
1918
"noexcept"
19+
"new"
2020
"override"
2121
"private"
2222
"protected"
2323
"public"
24-
"requires"
2524
"template"
2625
"throw"
2726
"try"
2827
"typename"
2928
"using"
30-
"virtual"] @keyword
29+
"virtual"
30+
"concept"
31+
"requires"
32+
] @keyword
3133

3234
;;; ----------------------------------------------------------------------------
3335
;; Functions
@@ -60,4 +62,4 @@
6062
;; Constants
6163

6264
(this) @variable.builtin
63-
(nullptr) @constant
65+
(null "nullptr" @constant)

0 commit comments

Comments
 (0)