diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-04 21:12:44 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 18:25:35 +0100 |
| commit | 71cfcff51097011eb1cb0c3048c8a949d983b79e (patch) | |
| tree | b917066451373f8bce16ab155d9c842c311b6929 | |
| parent | refactor(latex): improve queries (#2457) (diff) | |
| download | nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.tar nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.tar.gz nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.tar.bz2 nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.tar.lz nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.tar.xz nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.tar.zst nvim-treesitter-71cfcff51097011eb1cb0c3048c8a949d983b79e.zip | |
injections(yaml): injection on Gitlab's before_script/after_script
| -rw-r--r-- | queries/yaml/injections.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/yaml/injections.scm b/queries/yaml/injections.scm index 3a98ee033..a5afd542c 100644 --- a/queries/yaml/injections.scm +++ b/queries/yaml/injections.scm @@ -2,17 +2,17 @@ ;; Github actions ("run") / Gitlab CI ("scripts") (block_mapping_pair - key: (flow_node) @_run (#any-of? @_run "run" "script") + key: (flow_node) @_run (#any-of? @_run "run" "script" "before_script" "after_script") value: (flow_node (plain_scalar) @bash)) (block_mapping_pair - key: (flow_node) @_run (#any-of? @_run "run" "script") + key: (flow_node) @_run (#any-of? @_run "run" "script" "before_script" "after_script") value: (block_node (block_scalar) @bash (#offset! @bash 0 0 0 0))) (block_mapping_pair - key: (flow_node) @_run (#any-of? @_run "run" "script") + key: (flow_node) @_run (#any-of? @_run "run" "script" "before_script" "after_script") value: (block_node (block_sequence (block_sequence_item |
