Skip to content

Commit

Permalink
api: add nvim_win_hide
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Mar 29, 2021
1 parent ee5cbe9 commit 422e001
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nvim/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions nvim/api_def.go
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,11 @@ func IsWindowValid(window Window) (valid bool) {
name(nvim_win_is_valid)
}

// HideWindow closes the window and hide the buffer
func HideWindow(window Window) {
name(nvim_win_hide)
}

// SetWindowConfig configure window position. Currently this is only used to configure
// floating and external windows (including changing a split window to these types).
//
Expand Down

0 comments on commit 422e001

Please sign in to comment.