aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-01 18:52:56 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-01 18:52:56 +0200
commit62ab040fa4fc8746b926f1cc89883bad049007ed (patch)
tree70f26460f2525c7ed177ead0eb429c9f4bf8a30b
parentefea8a66b12d98b02d0594b54c4e575262d4e3da (diff)
downloadrneovim-62ab040fa4fc8746b926f1cc89883bad049007ed.tar.gz
rneovim-62ab040fa4fc8746b926f1cc89883bad049007ed.tar.bz2
rneovim-62ab040fa4fc8746b926f1cc89883bad049007ed.zip
doc: api
-rw-r--r--runtime/doc/api.txt22
1 files changed, 12 insertions, 10 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 9b2795863b..8db35c4590 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -270,7 +270,7 @@ nvim_get_option({name}) *nvim_get_option()*
{name} Option name
Return:~
- Option value
+ Option value (global)
nvim_set_option({name}, {value}) *nvim_set_option()*
Sets an option value
@@ -370,6 +370,17 @@ nvim_get_color_by_name({name}) *nvim_get_color_by_name()*
nvim_get_color_map() *nvim_get_color_map()*
TODO: Documentation
+nvim_get_mode() *nvim_get_mode()*
+ Gets the current mode.
+ mode: Mode string. |mode()|
+ blocking: true if Nvim is waiting for input.
+
+ Attributes:~
+ {async}
+
+ Return:~
+ Dictionary { "mode": String, "blocking": Boolean }
+
nvim_get_api_info() *nvim_get_api_info()*
TODO: Documentation
@@ -514,15 +525,6 @@ nvim_buf_set_option({buffer}, {name}, {value}) *nvim_buf_set_option()*
{name} Option name
{value} Option value
-nvim_buf_get_number({buffer}) *nvim_buf_get_number()*
- Gets the buffer number
-
- Parameters:~
- {buffer} Buffer handle
-
- Return:~
- Buffer number
-
nvim_buf_get_name({buffer}) *nvim_buf_get_name()*
Gets the full file name for the buffer