Vim 9.1, Debian package (runtime/indent/sh.vim is in use).
Create a Bash file containing:
#!/bin/bash scans=(a.png b.png) printf '%d\n' "${#scans[@]}" for scan in "${scans[@]}"; do : done or if (( SPLIT == 0 )); then split=${#output[@]} else split="$SPLIT" fi ${#scans[@]} is a Bash parameter expansion that returns the array length. It is not an opening { block. # possible fix - line 320-322 function! s:start_block(line) - return a:line =~ '^[^#]*[{(]\s*\(#.*\)\?$' + return a:line =~ '^[^#]*\$\@<![{(]\s*\(#.*\)\?$' endfunction
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()