diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-07-11 01:47:05 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-13 21:29:49 +0200 |
| commit | f803c74ebc1e30ae8d047c087d9b094134a667d5 (patch) | |
| tree | c1f01175f0ddf941f22665674d99c96bf0f6f953 /queries/cpp | |
| parent | Lint: remove second argument for one-argument function (diff) | |
| download | nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.tar nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.tar.gz nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.tar.bz2 nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.tar.lz nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.tar.xz nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.tar.zst nvim-treesitter-f803c74ebc1e30ae8d047c087d9b094134a667d5.zip | |
C/C++ highlights: Small improvements for type definitions
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/locals.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/cpp/locals.scm b/queries/cpp/locals.scm index 47b69c866..712f82912 100644 --- a/queries/cpp/locals.scm +++ b/queries/cpp/locals.scm @@ -20,6 +20,9 @@ name: (scoped_type_identifier name: (type_identifier) @definition.type)) +(alias_declaration + name: (type_identifier) @definition.type) + ;; Function defintions (template_function name: (identifier) @definition.function) @scope |
