Skip to content

Commit

Permalink
Replace namespace defeinition
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 authored and meain committed Aug 22, 2023
1 parent f537bd6 commit 5aaffe8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion queries/cpp/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@
;;; ----------------------------------------------------------------------------
;; Types

(namespace_identifier) @namespace

((namespace_identifier) @type
(.match? @type "^[A-Za-z]"))
(#lua-match? @type "^[A-Z]"))

(using_declaration . "using" . "namespace" . [(qualified_identifier) (identifier)] @namespace)

(auto) @type

Expand Down

0 comments on commit 5aaffe8

Please sign in to comment.