feat: plugin code, updates

This commit is contained in:
2025-09-07 23:36:04 +03:00
parent 773f82e610
commit 4188c9221f
15 changed files with 354 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
; Quote pairs
("'" @open "'" @close)
("\"" @open "\"" @close)
; Command substitution
("$(" @open ")" @close)
("${" @open "}" @close)
; Parentheses
("(" @open ")" @close)
; Square brackets
("[" @open "]" @close)
; Curly braces
("{" @open "}" @close)
; ShellSpec block structure (if using End keyword)
(simple_command
(command_name) @_cmd
(#match? @_cmd "^(Describe|Context|It|Specify|Example)$")) @open
(simple_command
(command_name) @_end
(#eq? @_end "End")) @close