aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2023-09-27 17:23:42 +0800
committerglepnir <glephunter@gmail.com>2023-09-30 18:30:23 +0800
commit4200a0f1678c06c6da4e4cfb0184c29c1174ed21 (patch)
tree0a76101997ab9b1a13b699abdc65e3f39c8df43c /runtime/doc
parentdfa8b582a64aa22d3c57261bfcdc970b26cb58f3 (diff)
downloadrneovim-4200a0f1678c06c6da4e4cfb0184c29c1174ed21.tar.gz
rneovim-4200a0f1678c06c6da4e4cfb0184c29c1174ed21.tar.bz2
rneovim-4200a0f1678c06c6da4e4cfb0184c29c1174ed21.zip
feat(float): support toggle show float window
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/api.txt1
-rw-r--r--runtime/doc/news.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 1eebd0bb18..ec979e2ab1 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -3181,6 +3181,7 @@ nvim_open_win({buffer}, {enter}, {*config}) *nvim_open_win()*
fire from calling this function.
• fixed: If true when anchor is NW or SW, the float window
would be kept fixed even if the window would be truncated.
+ • hide: If true the floating window will be hidden.
Return: ~
Window handle, or 0 on error
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 05a2d35f9a..23a7e1d503 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -65,6 +65,9 @@ The following changes may require adaptations in user config or plugins.
now requires an explicit range argument to be passed. If injections are
required, provide an explicit range via `parser:parse({ start_row, end_row })`.
+• Float window support hide and show by setting `hide` on `nvim_open_win` and
+ `nvim_win_set_config`.
+
==============================================================================
NEW FEATURES *news-features*