aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/if_ruby.txt
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-14 17:44:14 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-14 22:00:40 -0400
commit4543af9d53bc5a222a7ac01e17e2ad8a8ed63c8e (patch)
tree017b3308f774957b0ec33635098660796aceeb13 /runtime/doc/if_ruby.txt
parente396eb549e984b4f9db663e07a71c6de53d424b3 (diff)
downloadrneovim-4543af9d53bc5a222a7ac01e17e2ad8a8ed63c8e.tar.gz
rneovim-4543af9d53bc5a222a7ac01e17e2ad8a8ed63c8e.tar.bz2
rneovim-4543af9d53bc5a222a7ac01e17e2ad8a8ed63c8e.zip
vim-patch:8.1.0221: not enough testing for the Ruby interface
Problem: Not enough testing for the Ruby interface. Solution: Add more tests. (Dominique Pelle, closes vim/vim#3252) https://github.com/vim/vim/commit/edd6aacb010ad2402fc98f19e7f6b7c29ba2656f Modified some tests to make them pass for Neovim. Some tests will always fail because +ruby is externalized in Neovim. Skip failing ruby tests for now.
Diffstat (limited to 'runtime/doc/if_ruby.txt')
-rw-r--r--runtime/doc/if_ruby.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
index 6468e4c81e..87047712f3 100644
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -136,7 +136,7 @@ self[{n}] Returns the buffer object for the number {n}. The first number
Methods:
-name Returns the name of the buffer.
+name Returns the full name of the buffer.
number Returns the number of the buffer.
count Returns the number of lines.
length Returns the number of lines.
@@ -172,6 +172,7 @@ height = {n} Sets the window height to {n}.
width Returns the width of the window.
width = {n} Sets the window width to {n}.
cursor Returns a [row, col] array for the cursor position.
+ First line number is 1 and first column number is 0.
cursor = [{row}, {col}]
Sets the cursor position to {row} and {col}.