runtime(vimtutor): Further improve the vimtutor shell script#15992
runtime(vimtutor): Further improve the vimtutor shell script#15992zzzyxwvut wants to merge 1 commit intovim:masterfrom
Conversation
|
TODO:
|
|
@chrisbra, a non-ASan Linux task is now struggling with vim/runtime/indent/testdir/runtest.vim Lines 17 to 28 in 5ccac75 |
Do we really need this? We haven't had a different chapter for more than 20 years and just now added chapter 2. I suppose we can get away with single digit chapters for now.
I don't have a strong feeling about it, as long as it is consistent. So just pick one please :)
Perhaps we should just increase the timeout for the indent tests in general? Or even slightly increase it from 100 to 200 in vim/runtime/autoload/dist/vimindent.vim Lines 17 to 18 in 5ccac75 |
- Rewrite the script usage note.
- Reconcile the usage help output with the manual page entry
that describes the implementation in that:
* a language code argument can be used alone or with its
option key, e.g. "vimtutor -l nl" or "vimtutor nl";
* a chapter number argument cannot be used without its
option key, e.g. "vimtutor -c 2".
- Accept only chapters 1 or 2 as valid chapter arguments.
- Double-quote instances of shell parameter expansion where
neither pathname expansion nor field splitting is desired.
- Prefer "$(foo)" to "`foo`" for command substitution.
- Follow a single indentation style (see the modeline).
499a49e to
77e253e
Compare
|
I haven't rebased my topic branch but I see that the manual |
|
thanks! |
that describes the implementation in that:
option key, e.g.
vimtutor -l nlorvimtutor nl;option key, e.g.
vimtutor -c 2.neither pathname expansion nor field splitting is desired.
$(foo)to`foo`for command substitution.