commit 43ee1f61bcab19b97bb2a24aba7f608ec064d8dc
parent 4ea6849edc61a320978cb751a2466fe5508e1a21
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Fri, 2 Oct 2020 22:27:49 +0200
vim: fix sh snippet
Former-commit-id: e3f6fe02764df61c26e550efbd8a4a53f84d591d
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/ultisnips/sh.snippets b/vim/ultisnips/sh.snippets
@@ -23,7 +23,7 @@ endsnippet
snippet argparse "Parse arguments/flags" b
PARAMS=""
-while [ \$(("\$#")) -ne 0 ]; do
+while [ \$((\$#)) -ne 0 ]; do
case "\$1" in
-${1:letter}|--${2:long name})
$2="\$2"