aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-10-25 18:46:57 +0100
committerGitHub <noreply@github.com>2020-10-25 18:46:57 +0100
commitc3ef19813293b0606eea68c924c5b611cdbf144b (patch)
treea97c09d911026429a4d66321321e778f8a054778 /runtime
parent6312792d8a6a7d293661d33d440343d4cc6e0e6e (diff)
parenta83b76790b82c8f9e74b82c8b0061682b66ddd0d (diff)
downloadrneovim-c3ef19813293b0606eea68c924c5b611cdbf144b.tar.gz
rneovim-c3ef19813293b0606eea68c924c5b611cdbf144b.tar.bz2
rneovim-c3ef19813293b0606eea68c924c5b611cdbf144b.zip
Merge pull request #13077 from tjdevries/tjdevries/buf_apis_1
api: nvim_buf_delete
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 083128ab80..0c726ddd86 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1783,6 +1783,17 @@ nvim_buf_del_var({buffer}, {name}) *nvim_buf_del_var()*
{buffer} Buffer handle, or 0 for current buffer
{name} Variable name
+nvim_buf_delete({buffer}, {opts}) *nvim_buf_delete()*
+ Deletes the buffer. See |:bwipeout|
+
+ Parameters: ~
+ {buffer} Buffer handle, or 0 for current buffer
+ {opts} Optional parameters. Keys:
+ • force: Force deletion and ignore unsaved
+ changes.
+ • unload: Unloaded only, do not delete. See
+ |:bunload|
+
nvim_buf_detach({buffer}) *nvim_buf_detach()*
Deactivates buffer-update events on the channel.