annotate runtime/indent/zsh.vim @ 27503:4cea92e99a5a
v8.2.4279
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Commit: https://github.com/vim/vim/commit/8133018f50bc447570825801e93d5ed67e8dac90
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 1 12:11:58 2022 +0000
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Problem: Vim9: cannot change item type with map() after range().
Solution: Split the return type in current type and declared type.
(closes #9665)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Tue, 01 Feb 2022 13:15:03 +0100 |
parents |
0303182665d5 |
children |
|
rev |
line source |
7
|
1 " Vim indent file
|
6823
|
2 " Language: Zsh shell script
|
|
3 " Maintainer: Christian Brabandt <cb@256bit.org>
|
|
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
5 " Latest Revision: 2015-05-29
|
|
6 " License: Vim (see :h license)
|
|
7 " Repository: https://github.com/chrisbra/vim-zsh
|
375
|
8
|
|
9 if exists("b:did_indent")
|
|
10 finish
|
|
11 endif
|
7
|
12
|
|
13 " Same as sh indenting for now.
|
|
14 runtime! indent/sh.vim
|