annotate runtime/tools/vim132 @ 20943:1693ca876049
v8.2.1023
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Commit: https://github.com/vim/vim/commit/0cb5bcf5836de83f7d64fb01d3ce708caacaf66c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 18:19:09 2020 +0200
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 20 Jun 2020 18:30:04 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 #!/bin/csh
|
|
2 #
|
|
3 # Shell script for use with UNIX
|
|
4 # Starts up Vim with the terminal in 132 column mode
|
|
5 # Only works on VT-100 terminals and lookalikes
|
|
6 # You need to have a termcap entry "vt100-w". Same as vt100 but 132 columns.
|
|
7 #
|
|
8 set oldterm=$term
|
|
9 echo "[?3h"
|
|
10 setenv TERM vt100-w
|
|
11 vim $*
|
|
12 set term=$oldterm
|
|
13 echo "[?3l"
|