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 | |
| parent | Python locals: with_statement can define variables (diff) | |
| download | nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.tar nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.tar.gz nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.tar.bz2 nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.tar.lz nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.tar.xz nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.tar.zst nvim-treesitter-7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2.zip | |
highlight(c): fix booleans and types
Diffstat (limited to 'queries/cpp')
| -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 49382bdf7..c0a76c137 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" |
