aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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