aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp/injections.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-11/+0
|
* feat(c-family): inherit injectionsObserverOfTime2025-05-121-3/+1
|
* fix(c): improve doxygen comment matching (#6278)Chad Condon2024-03-111-1/+1
|
* fix(cpp): add back comment injectionJaehwang Jung2024-02-131-0/+3
|
* chore: query formattingPham Huy Hoang2024-01-191-4/+1
|
* feat: add DoxygenAmaan Qureshi2023-08-261-0/+4
|
* chore(c-family): inject all preproc args againAmaan Qureshi2023-08-131-11/+1
|
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-7/+16
| | | | | | | | | Since 0.9, @lang syntax is still available as fallback but will soon be deprecated. Because of that, new syntax should be adopted once 0.9 becomes the baseline requirements for nvim-treesitter - update health check - update doc
* fix(c-family): inject into preproc args in preproc defs when it spans ↵Amaan Qureshi2023-08-111-0/+2
| | | | multiple lines only
* fix(cpp): update injections from CAmaan Qureshi2023-08-101-1/+2
|
* 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