diff options
| author | Alex Chen <Cnly@users.noreply.github.com> | 2021-06-04 19:56:10 +0800 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-06-10 08:16:53 +0200 |
| commit | 3b516c8e2b29dc2f8bfa5425a1b9369496918884 (patch) | |
| tree | 3ba965e844cbae4a89c7feed9d1b745ead88ffbe /queries/cpp | |
| parent | Update zig highlights (diff) | |
| download | nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.tar nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.tar.gz nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.tar.bz2 nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.tar.lz nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.tar.xz nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.tar.zst nvim-treesitter-3b516c8e2b29dc2f8bfa5425a1b9369496918884.zip | |
c++ highlights: don't capture all identifiers with uppercase initials as types
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/highlights.scm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 9136fcd79..981924259 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -32,10 +32,6 @@ name: (identifier) @function)) -((identifier) @type - (#match? @type "^[A-Z].*[a-z]") - (#not-has-parent? @type function_declarator)) - (namespace_identifier) @namespace ((namespace_identifier) @type (#match? @type "^[A-Z]")) |
