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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #!/bin/csh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 # Shell script for use with UNIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Starts up Vim with the terminal in 132 column mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # Only works on VT-100 terminals and lookalikes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 # You need to have a termcap entry "vt100-w". Same as vt100 but 132 columns.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 set oldterm=$term
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 echo "[?3h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 setenv TERM vt100-w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 vim $*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 set term=$oldterm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 echo "[?3l"