aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-30 13:40:35 +0200
committerGitHub <noreply@github.com>2023-09-30 13:40:35 +0200
commit578d63417609de9677bc4bf5be3b265766ef2083 (patch)
treeb26ffc04ae41aae5c796fb75fe650e7a7d5b5716 /runtime/doc
parent960170e4469b96c5c3d06ba1bb84c9edeaa04b8b (diff)
parent4200a0f1678c06c6da4e4cfb0184c29c1174ed21 (diff)
downloadrneovim-578d63417609de9677bc4bf5be3b265766ef2083.tar.gz
rneovim-578d63417609de9677bc4bf5be3b265766ef2083.tar.bz2
rneovim-578d63417609de9677bc4bf5be3b265766ef2083.zip
Merge pull request #25386 from glepnir/toggle_float
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 3062c4c393..b632cf0932 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*