Skip to content

Commit 1dd8682

Browse files
committed
Translate eval, options and syntax
1 parent c8a30b2 commit 1dd8682

File tree

3 files changed

+49
-49
lines changed

3 files changed

+49
-49
lines changed

doc/eval.jax

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4101,8 +4101,8 @@ getchar([expr]) *getchar()*
41014101
exe "normal " . v:mouse_col . "|"
41024102
endif
41034103
<
4104-
When using bracketed paste only the first character is
4105-
returned, the rest of the pasted text is dropped.
4104+
bracketed pasteを使用しているときは最初の文字のみが返され、ペー
4105+
ストされた残りのテキストは切り捨てられる。
41064106
|xterm-bracketed-paste|.
41074107

41084108
この関数を呼んだときプロンプトは表示されない。文字入力を待って
@@ -6007,12 +6007,13 @@ pyeval({expr}) *pyeval()*
60076007
{|+python| 機能付きでコンパイルされたときのみ利用可能}
60086008

60096009
pyxeval({expr}) *pyxeval()*
6010-
Evaluate Python expression {expr} and return its result
6011-
converted to Vim data structures.
6012-
Uses Python 2 or 3, see |python_x| and 'pyxversion'.
6013-
See also: |pyeval()|, |py3eval()|
6014-
{only available when compiled with the |+python| or the
6015-
|+python3| feature}
6010+
Python の式 {expr} を評価して、結果を Vim のデータ形式にして返
6011+
す。
6012+
Python 2 または 3 を使用する。|python_x|'pyxversion' を参
6013+
照。
6014+
|pyeval()|, |py3eval()| も参照。
6015+
{|+python| または |+python3| 機能付きでコンパイルされたときの
6016+
み利用可能}
60166017

60176018
*E726* *E727*
60186019
range({expr} [, {max} [, {stride}]]) *range()*
@@ -6605,17 +6606,14 @@ setpos({expr}, {list})
66056606
[bufnum, lnum, col, off]
66066607
[bufnum, lnum, col, off, curswant]
66076608

6608-
"bufnum" はバッファ番号。0にするとカレントバッファを表す。
6609-
{旧訳: カー
6610-
ソル位置の設定はカレントバッファに対してのみ可能。他のバッファ
6611-
のマークを設定するには、関数|bufnr()|を使ってファイル名をバッ
6612-
ファ番号に変換する。}
6613-
When setting an uppercase mark "bufnum" is
6614-
used for the mark position. For other marks it specifies the
6615-
buffer to set the mark in. You can use the |bufnr()| function
6616-
to turn a file name into a buffer number.
6617-
For setting the cursor and the ' mark "bufnum" is ignored,
6618-
since these are associated with a window, not a buffer.
6609+
"bufnum" はバッファ番号。0にするとカレントバッファを表す。大文
6610+
字のマークを設定するとき、"bufnum" はマーク位置として用いられ
6611+
る。それ以外のマークの場合、"bufnum" はマークを設定するバッファ
6612+
を指定する。関数|bufnr()|を使ってファイル名をバッファ番号に変
6613+
換することができる。
6614+
カーソルと ' マークを設定する場合、バッファ番号は無視される。
6615+
なぜならそれらはバッファではなくウィンドウに関連付けられている
6616+
からである。
66196617
ジャンプリストは変更されない。
66206618

66216619
"lnum" と "col" はバッファ内の位置。桁番号は1から始まる。

doc/options.jax

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5906,32 +5906,32 @@ Note 1番目の形式では、行全体がオプション指定に使われる
59065906
は設定できない。
59075907

59085908
*'pyxversion'* *'pyx'*
5909-
'pyxversion' 'pyx' number (default depends on the build)
5910-
global
5911-
{not in Vi}
5912-
{only available when compiled with the |+python| or
5913-
the |+python3| feature}
5914-
Specifies the python version used for pyx* functions and commands
5915-
|python_x|. The default value is as follows:
5916-
5917-
Compiled with Default ~
5918-
|+python| and |+python3| 0
5919-
only |+python| 2
5920-
only |+python3| 3
5921-
5922-
Available values are 0, 2 and 3.
5923-
If 'pyxversion' is 0, it is set to 2 or 3 after the first execution of
5924-
any python2/3 commands or functions. E.g. `:py` sets to 2, and `:py3`
5925-
sets to 3. `:pyx` sets it to 3 if Python 3 is available, otherwise sets
5926-
to 2 if Python 2 is available.
5927-
See also: |has-pythonx|
5928-
5929-
If Vim is compiled with only |+python| or |+python3| setting
5930-
'pyxversion' has no effect. The pyx* functions and commands are
5931-
always the same as the compiled version.
5932-
5933-
This option cannot be set from a |modeline| or in the |sandbox|, for
5934-
security reasons.
5909+
'pyxversion' 'pyx' 数値 (既定値はビルドに依存)
5910+
グローバル
5911+
{Vi にはない}
5912+
{Vimが |+python| または |+python3| 機能付きでコンパイ
5913+
ルされたときのみ有効}
5914+
pyx* 関数とコマンドで使用する python のバージョンを指定する
5915+
|python_x|。既定値は以下の通り:
5916+
5917+
以下でコンパイル 既定値 ~
5918+
|+python| |+python3| 0
5919+
|+python| のみ 2
5920+
|+python3| のみ 3
5921+
5922+
使用可能な値は 0, 2, 3 のいずれかである。
5923+
'pyxversion' が 0 の場合、最初に実行された python2/3 コマンドまたは関
5924+
数によって 2 または 3 に設定される。例えば、`:py` は 2 に設定し、
5925+
`:py3` は 3 に設定する。`:pyx` は、Python 3 が利用可能ならば 3 に設定
5926+
し、そうでなく Python 2 が利用可能ならば 2 に設定する。
5927+
|has-pythonx| も参照。
5928+
5929+
もし Vim |+python| または |+python3| のみでコンパイルされている場
5930+
合、'pyxversion' は効果がない。pyx* 関数とコマンドは、つねにコンパイル
5931+
されたバージョンと同じとなる。
5932+
5933+
このオプションはセキュリティの理由により |modeline| |sandbox| から
5934+
は設定できない。
59355935

59365936
*'quoteescape'* *'qe'*
59375937
'quoteescape' 'qe' 文字列 (既定では "\")

doc/syntax.jax

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3359,7 +3359,8 @@ ZSH *zsh.vim* *ft-zsh-syntax*
33593359
影響する。
33603360

33613361
:sy[ntax] case
3362-
Show either "syntax case match" or "syntax case ignore" (translated).
3362+
"syntax case match" または "syntax case ignore" (翻訳される)を表示す
3363+
る。
33633364

33643365
スペルチェック *:syn-spell*
33653366

@@ -3379,8 +3380,8 @@ ZSH *zsh.vim* *ft-zsh-syntax*
33793380
らない。
33803381

33813382
:sy[ntax] spell
3382-
Show either "syntax spell toplevel", "syntax spell notoplevel" or
3383-
"syntax spell default" (translated).
3383+
"syntax spell toplevel", "syntax spell notoplevel" または
3384+
"syntax spell default" (翻訳される)を表示する。
33843385

33853386

33863387
SYNTAX ISKEYWORD SETTING *:syn-iskeyword*
@@ -3947,7 +3948,8 @@ Note この例はネストした "if" には機能しないことに注意。ネ
39473948
ればならない状態に戻る。
39483949

39493950
:sy[ntax] conceal
3950-
Show either "syntax conceal on" or "syntax conceal off" (translated).
3951+
"syntax conceal on" または "syntax conceal off" (翻訳される)を表示す
3952+
る。
39513953

39523954
==============================================================================
39533955
7. syntaxのパターン *:syn-pattern* *E401* *E402*

0 commit comments

Comments
 (0)