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,29 @@
; Individual test execution
(simple_command
(command_name) @_name
(#match? @_name "^(It|Specify|Example)$")
(word) @run) @shellspec-test
; Test suite execution
(simple_command
(command_name) @_name
(#match? @_name "^(Describe|Context|ExampleGroup)$")
(word) @run) @shellspec-suite
; Focused test execution
(simple_command
(command_name) @_name
(#match? @_name "^f(It|Specify|Example)$")
(word) @run) @shellspec-focused-test
; Focused suite execution
(simple_command
(command_name) @_name
(#match? @_name "^f(Describe|Context|ExampleGroup)$")
(word) @run) @shellspec-focused-suite
; Pending test markers
(simple_command
(command_name) @_name
(#match? @_name "^(Pending|Todo)$")
(word) @run) @shellspec-pending