aboutsummaryrefslogtreecommitdiffstats
path: root/queries/rust/injections.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-89/+0
|
* fix(rust): inject regex into RegexBuilder instead of ByteRegexBuildermay2025-03-081-2/+2
|
* fix(rust): inject html and json in macro invocations (#7715)ginnyTheCat2025-03-081-10/+4
|
* fix(rust): regex injections, highlightsRiley Bruins2024-10-271-4/+8
| | | | | | | | | **Problem:** Rust's regex injections were not applied since the string content is behind a `(string_content)` node, and the injections were applied to the parent node without the `include-children` directive. **Solution:** Apply the injections to the string content. Also highlight them accordingly.
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-54/+42
|
* feat(rust): add more regex injection queriesAmaan Qureshi2024-02-251-2/+30
|
* feat(slint)!: change to the official parser (#6027)Tobias Hunger2024-02-091-0/+20
| | | | | | | | | | | This change replaces the slint parser written and maintained by @jrmoulton with the official one hosted in the slint-ui organization on github. A huge thank you to @jrmoulton for all his work on the tree-sitter parser! --------- Co-authored-by: jrmoulton <jaredmoulton3@gmail.com>
* fix(rust): Follow upstream injectionsPhạm Huy Hoàng2024-01-241-1/+2
| | | | | | tree-sitter-rust and helix both have `injection.include-children` for the pattern in this PR. So it's best to changed to match the intended results
* chore: format queriesPhạm Huy Hoàng2024-01-211-2/+1
|
* chore(rust): tweak injections, add json macro injectionAmaan Qureshi2024-01-191-1/+1
|
* chore: query formattingPham Huy Hoang2024-01-191-18/+30
|
* feat: add DoxygenAmaan Qureshi2023-08-261-1/+1
|
* feat: add re2cAmaan Qureshi2023-08-241-0/+4
|
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-14/+19
| | | | | | | | | 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
* injections(rust): inject regex into `Regex::new`Stephan Seitz2021-12-141-0/+13
|
* rust: inject html to html! macrotami52021-06-211-0/+9
|
* 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/+5
| | | Closes #236
* started branchBrian Shu2021-01-071-0/+7