File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- *eval.txt* For Vim バージョン 9.1. Last change: 2024 Jun 01
1
+ *eval.txt* For Vim バージョン 9.1. Last change: 2024 Jul 17
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -3045,9 +3045,9 @@ text...
3045
3045
let lconst[0] = 2 " Error!
3046
3046
let lconst[1][0] = 'b' " OK
3047
3047
< *E995*
3048
- | :const | は変数の変更をすることができない : >
3048
+ :const を使用して既存の変数を指定するとエラーになる : >
3049
3049
:let x = 1
3050
- :const x = 2 " エラー!
3050
+ :const x = 1 " エラー!
3051
3051
< *E996*
3052
3052
Note 環境変数、オプション値およびレジスタ値はロックで
3053
3053
きないため、ここでは使用できない。
Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3124,9 +3124,10 @@ text...
3124
3124
let lconst[0] = 2 " Error!
3125
3125
let lconst[1][0] = 'b' " OK
3126
3126
< *E995*
3127
- | :const | does not allow to for changing a variable: >
3127
+ It is an error to specify an existing variable with
3128
+ :const. >
3128
3129
:let x = 1
3129
- :const x = 2 " Error!
3130
+ :const x = 1 " Error!
3130
3131
< *E996*
3131
3132
Note that environment variables, option values and
3132
3133
register values cannot be used here, since they cannot
You can’t perform that action at this time.
0 commit comments