add actions.change_dir.restrict_above_cwd (#1171)

This commit is contained in:
Alexander Courtis
2022-04-23 18:45:23 +10:00
committed by GitHub
parent ce463a53ae
commit 2c71ffcc0d
4 changed files with 11 additions and 7 deletions

View File

@@ -163,6 +163,7 @@ function.
change_dir = {
enable = true,
global = false,
restrict_above_cwd = false,
},
open_file = {
quit_on_open = false,
@@ -486,6 +487,11 @@ Here is a list of the options available in the setup call:
type: `boolean`
default: `false`
- |actions.change_dir.restrict_above_cwd|: restrict changing to a directory
above the global current working directory.
type: `boolean`
default: `false`
- |actions.open_file.quit_on_open|: closes the explorer when opening a file.
It will also disable preventing a buffer overriding the tree.
type: `boolean`