Skip to content

Commit 9565802

Browse files
authored
Merge pull request #1628 from vim-jp/hh-update-eval
Update eval.{txt,jax}
2 parents 883f2d3 + d47ce08 commit 9565802

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

doc/eval.jax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim バージョン 9.1. Last change: 2024 Jun 01
1+
*eval.txt* For Vim バージョン 9.1. Last change: 2024 Jul 17
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -3045,9 +3045,9 @@ text...
30453045
let lconst[0] = 2 " Error!
30463046
let lconst[1][0] = 'b' " OK
30473047
< *E995*
3048-
|:const|は変数の変更をすることができない: >
3048+
:const を既存の変数に指定するとエラーになる: >
30493049
:let x = 1
3050-
:const x = 2 " エラー!
3050+
:const x = 1 " エラー!
30513051
< *E996*
30523052
Note 環境変数、オプション値およびレジスタ値はロックで
30533053
きないため、ここでは使用できない。

en/eval.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.1. Last change: 2024 Jun 01
1+
*eval.txt* For Vim version 9.1. Last change: 2024 Jul 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3124,9 +3124,10 @@ text...
31243124
let lconst[0] = 2 " Error!
31253125
let lconst[1][0] = 'b' " OK
31263126
< *E995*
3127-
|:const| does not allow to for changing a variable: >
3127+
It is an error to specify an existing variable with
3128+
:const. >
31283129
:let x = 1
3129-
:const x = 2 " Error!
3130+
:const x = 1 " Error!
31303131
< *E996*
31313132
Note that environment variables, option values and
31323133
register values cannot be used here, since they cannot

0 commit comments

Comments
 (0)