File tree 2 files changed +24
-4
lines changed
2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ Rubyインターフェイス *ruby* *Ruby*
11
11
3. Vim::Buffer オブジェクト | ruby-buffer |
12
12
4. Vim::Window オブジェクト | ruby-window |
13
13
5. グローバル変数 | ruby-globals |
14
- 6. 動的ローディング | ruby-dynamic |
14
+ 6. rubyeval() Vim 関数 | ruby-rubyeval |
15
+ 7. 動的ローディング | ruby-dynamic |
15
16
16
17
{Vi にはこれらのコマンドはない}
17
18
*E266* *E267* *E268* *E269* *E270* *E271* *E272* *E273*
@@ -194,7 +195,16 @@ $curwin 現在のウィンドウオブジェクト
194
195
$curbuf 現在のバッファオブジェクト
195
196
196
197
==============================================================================
197
- 6. 動的ローディング *ruby-dynamic*
198
+ 6. rubyeval() Vim 関数 *ruby-rubyeval*
199
+
200
+ 双方向インターフェイスを促進するため、| rubyeval() | 関数を使用して Ruby 式を評
201
+ 価しそれらの値を Vim script に渡すことができる。
202
+
203
+ Ruby の値 "true", "false" および "nil" は、それぞれ v:true, v:false および
204
+ v:null に変換される。
205
+
206
+ ==============================================================================
207
+ 7. 動的ローディング *ruby-dynamic*
198
208
199
209
MS-WindowsとUnixではRubyライブラリを動的に読み込むことが可能である。これを行う
200
210
と| :version | の出力に| +ruby/dyn | が含まれるようになる。
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ The Ruby Interface to Vim *ruby* *Ruby*
11
11
3. Vim::Buffer objects | ruby-buffer |
12
12
4. Vim::Window objects | ruby-window |
13
13
5. Global variables | ruby-globals |
14
- 6. Dynamic loading | ruby-dynamic |
14
+ 6. rubyeval() Vim function | ruby-rubyeval |
15
+ 7. Dynamic loading | ruby-dynamic |
15
16
16
17
{Vi does not have any of these commands}
17
18
*E266* *E267* *E268* *E269* *E270* *E271* *E272* *E273*
@@ -198,7 +199,16 @@ $curwin The current window object.
198
199
$curbuf The current buffer object.
199
200
200
201
==============================================================================
201
- 6. Dynamic loading *ruby-dynamic*
202
+ 6. rubyeval() Vim function *ruby-rubyeval*
203
+
204
+ To facilitate bi-directional interface, you can use | rubyeval() | function to
205
+ evaluate Ruby expressions and pass their values to Vim script.
206
+
207
+ The Ruby value "true", "false" and "nil" are converted to v:true, v:false and
208
+ v:null, respectively.
209
+
210
+ ==============================================================================
211
+ 7. Dynamic loading *ruby-dynamic*
202
212
203
213
On MS-Windows and Unix the Ruby library can be loaded dynamically. The
204
214
| :version | output then includes | +ruby/dyn | .
You can’t perform that action at this time.
0 commit comments