feat(view): add float.quit_on_focus_loss, float respects actions.open_file.quit_on_open (#1621)

This commit is contained in:
emmanueltouzery
2022-10-08 05:35:20 +02:00
committed by GitHub
parent be2b4f58e6
commit 79f631bc1d
4 changed files with 9 additions and 4 deletions

View File

@@ -702,9 +702,13 @@ Window / buffer setup.
Configuration options for floating window
*nvim-tree.view.float.enable*
Display nvim-tree window as float (enforces |nvim-tree.actions.open_file.quit_on_open| if set).
Display nvim-tree window as float (enforces if set).
Type: `boolean`, Default: `false`
*nvim-tree.view.float.quit_on_focus_loss
When in floating mode, autoclose the popup when the popup loses the focus.
Type: `boolean`, Default: `true`
*nvim-tree.view.float.open_win_config*
Floating window config. See |nvim_open_win| for more details.
Type: `table` or `function` that returns a table, Default: