aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ruby/injections.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-23/+0
|
* feat(ruby): add injection for debugger command strings (#7480)Derek Stride2024-12-301-0/+12
|
* chore: query formattingPham Huy Hoang2024-01-191-7/+7
|
* fix(directive): make downcase work on capturesChristian Clason2023-08-121-2/+1
|
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-5/+8
| | | | | | | | | 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: add more regex injectionsObserverOfTime2022-11-271-0/+2
|
* downcase! directive to use with ruby injectionsderekstride2021-06-041-0/+6
| | | | | | | | | | | | | | | | | ``` (#downcase! "language") ``` downcase! will ensure the metadata value for the specified key will be downcased. If the value is a node, it will downcase the text specified by the node. ``` (#downcase! @node "key") ``` You can also namespace the key with a specific capture, similar to how you can call `(#set! @node "key" "value")`
* 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/+1
Closes #236