mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
feat(textobjects): Add start to include preceding things like documentation
This commit is contained in:
parent
31d1f068fd
commit
b480d25155
4 changed files with 39 additions and 6 deletions
|
|
@ -4,3 +4,12 @@
|
|||
|
||||
(for_range_loop
|
||||
(_)? @loop.inner) @loop.outer
|
||||
|
||||
(template_declaration
|
||||
(function_definition) @function.outer) @function.outer.start
|
||||
|
||||
(template_declaration
|
||||
(struct_specifier) @class.outer) @class.outer.start
|
||||
|
||||
(template_declaration
|
||||
(class_specifier) @class.outer) @class.outer.start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue