Skip to content

Commit 984c13a

Browse files
committed
Update starting.{txt,jax}
1 parent edfae9b commit 984c13a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/starting.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim バージョン 9.1. Last change: 2024 Jul 04
1+
*starting.txt* For Vim バージョン 9.1. Last change: 2024 Jul 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1218,7 +1218,7 @@ Unixでコンパイル時に$VIMRUNTIMEの初期値を設定した場合(":versi
12181218
シェル内で $VIMRUNTIME の値が必要な場合(例えば、ヘルプファイルを grep するスク
12191219
リプトなど)は、次のようにすれば得られる: >
12201220
1221-
VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
1221+
VIMRUNTIME=$(vim -es '+put=$VIMRUNTIME|print|quit!')
12221222
12231223
$VIMRUNTIME を空の値に設定してはならない。いくつかの機能が動作しなくなる場合が
12241224
ある。

en/starting.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 9.1. Last change: 2024 Jul 04
1+
*starting.txt* For Vim version 9.1. Last change: 2024 Jul 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1257,7 +1257,7 @@ To change it later, use a ":let" command like this: >
12571257
In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that
12581258
greps in the help files) you might be able to use this: >
12591259
1260-
VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
1260+
VIMRUNTIME=$(vim -es '+put=$VIMRUNTIME|print|quit!')
12611261
12621262
Don't set $VIMRUNTIME to an empty value, some things may stop working.
12631263

0 commit comments

Comments
 (0)