Mercurial > vim
view runtime/syntax/testdir/input/sh_09.sh @ 36170:f67f6e07500d default tip
runtime(vim): Update base-syntax, improve folding function matches
Commit: https://github.com/vim/vim/commit/35699f17497dcdcfdd747fedaef28f208ac6eb5f
Author: Doug Kearns <dougkearns@gmail.com>
Date: Thu Sep 19 19:51:59 2024 +0200
runtime(vim): Update base-syntax, improve folding function matches
- Allow function command modifiers.
- Match function bodies starting with empty lines.
Command modifiers reported by @Konfekt.
fixes #15671
closes: #15674
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Sep 2024 20:00:08 +0200 |
parents | 695b50472e85 |
children |
line wrap: on
line source
#!/bin/dash # Test file for vim the check () subshells ( cd ; $pwd ) | wc -c ( cd $1 ; $pwd ) | wc -c ( cd ${1} ; $pwd ) | wc -c ( cd ; $pwd ) | wc -c ( cd ${1:-.} ; $pwd ) | sed -e 's!$!/!' -e 's!//*$!/!' ( cd ; $pwd ) | wc -c ( cd ${1:+.} ; $pwd ) | wc -c ( cd ; $pwd ) | wc -c ( cd ${1:=.} ; $pwd ) | wc -c ( cd ; $pwd ) | wc -c ( cd ${1:?} ; $pwd ) | wc -c ( cd ; $pwd ) | wc -c ( cd $HOME ; $pwd ) | wc -c ( cd ${HOME} ; $pwd ) | wc -c ( cd ${HOME} ) | wc -c ((n=1+2)) let n=1+2