diff options
| author | Phạm Huy Hoàng <hoangtun0810@gmail.com> | 2024-03-21 20:44:35 +0900 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-21 15:51:26 +0100 |
| commit | 722617e6726c1508adadf83d531f54987c703be0 (patch) | |
| tree | 951cdcf1cd2571647a3e5afdc11d6fae5e88b630 /queries/bash/injections.scm | |
| parent | feat(rust): improve indents (diff) | |
| download | nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.gz nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.bz2 nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.lz nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.xz nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.zst nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.zip | |
refactor(format): drop extra indentation for field
Diffstat (limited to 'queries/bash/injections.scm')
| -rw-r--r-- | queries/bash/injections.scm | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/queries/bash/injections.scm b/queries/bash/injections.scm index 83bb6359e..169ad1358 100644 --- a/queries/bash/injections.scm +++ b/queries/bash/injections.scm @@ -13,11 +13,10 @@ ((command name: (command_name) @_command . - argument: - [ - (string) - (raw_string) - ] @injection.content) + argument: [ + (string) + (raw_string) + ] @injection.content) (#eq? @_command "printf") (#set! injection.language "printf")) @@ -28,11 +27,10 @@ . (_) . - argument: - [ - (string) - (raw_string) - ] @injection.content) + argument: [ + (string) + (raw_string) + ] @injection.content) (#eq? @_command "printf") (#eq? @_arg "-v") (#set! injection.language "printf")) @@ -42,11 +40,10 @@ name: (command_name) @_command argument: (word) @_arg . - argument: - [ - (string) - (raw_string) - ] @injection.content) + argument: [ + (string) + (raw_string) + ] @injection.content) (#eq? @_command "printf") (#eq? @_arg "--") (#set! injection.language "printf")) |
