aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp
Commit message (Collapse)AuthorAgeFilesLines
* folds(cpp): highlight scoped enumsStephan Seitz2021-07-141-0/+3
|
* highlights(cpp): add static_assertStephan Seitz2021-07-061-0/+1
|
* c++ highlights: don't capture all identifiers with uppercase initials as typesAlex Chen2021-06-101-4/+0
|
* indents(c/cpp): let C++ use the C indents and add class_specifierStephan Seitz2021-05-201-15/+4
| | | | Fixes #1320
* highlights(c/c++): "..." also exists in C (variadic macros)Stephan Seitz2021-05-181-1/+0
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* highlights(cpp): highlight namespaces in using declartionsStephan Seitz2021-04-261-0/+2
|
* highlights(cpp): reduce number of regexesStephan Seitz2021-04-261-9/+3
|
* highlights(cpp): avoid overwriting C CONSTANTSStephan Seitz2021-04-261-2/+2
|
* Fix C++ localsStephan Seitz2021-03-161-7/+3
|
* Fix ocaml queriesStephan Seitz2021-03-161-1/+0
|
* Mark parsers with NPM dependencyStephan Seitz2021-03-161-5/+6
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+2
| | | Closes #236
* feat: use @ignore for comments and multiline stringselianiva2021-03-011-0/+2
|
* C/CPP: add injections for macrosSantos Gallegos2021-02-101-0/+1
|
* highlights(cpp): fix constructor call highlightingStephan Seitz2021-01-291-0/+3
| | | | Address #883
* feat: added more indent querieselianiva2021-01-141-0/+16
|
* C++ highlights: Fix destructor highlightingStephan Seitz2021-01-081-1/+1
| | | | Field is not "name"
* c/cpp highlights: Fix field declarations and initializersJohn Drouhard2020-11-201-0/+6
| | | | | | | After a recent fix for #446, declarations in class/struct definitions stopped being marked as properties or methods. This fix will add property highlights to field declarations, and method highlight to field function declarations.
* Do not highlight Uppercase function as typeStephan Seitz2020-11-181-3/+5
|
* fix(predicates): Fix #446: highlight property only if not a methodStephan Seitz2020-11-181-2/+3
|
* C++ highlights: highlight all kinds of optional parametersStephan Seitz2020-10-131-2/+2
| | | | declarator can be a identifier, a reference or a pointer
* feat(queries): modeline mechanism for base langsThomas Vigouroux2020-10-113-0/+6
| | | | | | | | This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189 This behaves like modelines and remove the use of the base_language map. Also, this allows to fine-tune what we actually want to include per query, which is better IMO.
* fix(highlights): Add TSNamespace highlightStephan Seitz2020-10-101-1/+3
| | | | | | | | | Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516
* Remove textobjects moduleStephan Seitz2020-10-041-18/+0
|
* Add @keyword.operator for operators that are English words and add ↵Stephan Seitz2020-09-191-2/+20
| | | | @exception for Java/JS
* Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz2020-09-141-1/+1
|
* Folds: rename query files to folds.scm to be consistentSantos Gallegos2020-09-141-0/+0
| | | | We use plural names for all query files except folds.
* ci: fix wrong queriesThomas Vigouroux2020-09-111-3/+3
|
* feat(C++ highlights): highlight operator_name as functionStephan Seitz2020-09-081-0/+2
|
* C/C++ locals: Deduplicate C++ locals contained in CStephan Seitz2020-09-081-4/+0
|
* Add C++ folds and C comment/preproc foldsStephan Seitz2020-09-081-0/+9
|
* feat(c/cpp highlights): highlight pointer/reference parametersStephan Seitz2020-08-241-0/+2
|
* C++ highlights: Add initial support for attributesStephan Seitz2020-08-221-0/+6
|
* Textobjects: add swap featureStephan Seitz2020-08-171-0/+3
|
* feat(highlights): add is predicateSteven Sojka2020-08-162-8/+19
|
* Fix #286: Highlight C++ raw_string_literalStephan Seitz2020-08-131-0/+4
|
* C++: locals template_declaration must define their own scope in which the ↵Stephan Seitz2020-07-271-1/+2
| | | | template arguments are valid
* C++ locals: add variadic as @definition.varStephan Seitz2020-07-201-0/+3
|
* C++ highlights: Add decltype keywordStephan Seitz2020-07-201-0/+1
|
* C++ highlights: Highlight variadic parametersStephan Seitz2020-07-201-0/+4
|
* Attach kind of reference to query result instead of using subfieldsStephan Seitz2020-07-201-1/+6
| | | | | This makes smart_rename work also for types out of the box and we don't need to search for the path of actual node.
* feat(textobjects): Add `start` to include preceding things like documentationStephan Seitz2020-07-151-0/+9
|
* Add C/C++ textobjectsStephan Seitz2020-07-141-0/+6
|
* Cpp locals: Fix syntaxStephan Seitz2020-07-131-1/+1
|
* Add rust locals.scmStephan Seitz2020-07-131-0/+7
|
* C/C++ highlights: Small improvements for type definitionsStephan Seitz2020-07-131-0/+3
|
* highlight(c): fix booleans and typesThomas Vigouroux2020-07-091-1/+3
|
* C/C++ highlights: update to new syntaxStephan Seitz2020-07-052-24/+31
| | | | This changed the highlight of "switch" to conditional and of "break" to repeat.