Mercurial > vim
view READMEdir/Contents @ 33707:6e5d35187e4e
runtime(sh): Update sh syntax and add shDerefOffset to shDerefVarArray for bash (#13480)
Commit: https://github.com/vim/vim/commit/ce3b0136c6d9d09af41969d3dc9634f115505a32
Author: Lucien Grondin <grondilu@yahoo.fr>
Date: Sat Nov 4 09:41:37 2023 +0100
runtime(sh): Update sh syntax and add shDerefOffset to shDerefVarArray for bash (https://github.com/vim/vim/issues/13480)
Add shDerefOffset to shDerefVarArray.
Example code:
```bash
declare -a a=({a..z})
echo "${a[@]:1:3}"
```
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 Nov 2023 09:45:06 +0100 |
parents | f8116058ca76 |
children | 4635e43f2c6f |
line wrap: on
line source
Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful for editing programs and other plain ASCII text. Full Vi compatibility and includes all Ex commands. Extra features above Vi: Multilevel undo, multiple windows, syntax highlighting, command line history, folding, improved command line editing, command typeahead display, command to display yank buffers, possibility to edit binary files, file name stack, support for Manx QuickFix and other compiler's error messages, shows current file name in window title, on-line help, rectangular cut/paste, etc., etc., etc... Version 9.0. Also runs under UNIX, MS-Windows, Mac, etc. vim90rt.tgz contains the documentation and syntax files. vim90bin.tgz contains the binaries. vim90src.tgz contains the sources. Author: Bram Moolenaar et al. Xxd Hex dumper and reader. Can be used to view files as hex, edit them and write them back. Can also be used to patch files. Version 2022 Jan 14 Author: Juergen Weigert