Skip to content

Commit a75d852

Browse files
Vincent-Pubolonton
authored andcommitted
improve namespace queries
1 parent 765a0eb commit a75d852

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

queries/cpp/highlights.scm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
;; Types
4545

4646
((namespace_identifier) @type
47-
(.match? @type "^[A-Z]"))
47+
(.match? @type "^[A-Za-z]"))
48+
49+
(namespace_definition (identifier) @type)
4850

4951
(auto) @type
5052

0 commit comments

Comments
 (0)