diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-07-06 23:01:46 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-07-09 14:48:39 +0200 |
| commit | 7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2 (patch) | |
| tree | f92935294505e40793eb8b4994021d701d9ca723 /queries/cpp/highlights.scm | |
| parent | a5fb463309e25841c4abec2ca7bcd826c04270bc (diff) | |
highlight(c): fix booleans and types
Diffstat (limited to 'queries/cpp/highlights.scm')
| -rw-r--r-- | queries/cpp/highlights.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 49382bdf..c0a76c13 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -20,6 +20,8 @@ (namespace_identifier) @constant +((identifier) @type (#match? @type "^[A-Z]")) + ((namespace_identifier) @type (#match? @type "^[A-Z]")) ((namespace_identifier) @constant @@ -77,7 +79,7 @@ "noexcept" "throw" ] @exception - + [ "class" |
