aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp/injections.scm
Commit message (Collapse)AuthorAgeFilesLines
* injections(cpp): add injections for raw string literalsJohn Drouhard2023-01-091-0/+4
| | | | | | | | | | | | | the delimiter describes the language to use for the injection content ```cpp auto python_code = R"python( import os if __name__ == '__main__': print(os.name) )python"; ```
* 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
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+2
| | | Closes #236
* C/CPP: add injections for macrosSantos Gallegos2021-02-101-0/+1