Skip to content

Commit

Permalink
chore: add information about ignore_cwd_only
Browse files Browse the repository at this point in the history
  • Loading branch information
duke-prnd committed Nov 3, 2023
1 parent e5b1354 commit 50cfa2f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ The following code block shows the available options and their defaults:
git = true,
patterns = { '/%.git/' },
symlink = true,
ignore_cwd_only = true,
},
pre_unlist = nil,
}
Expand Down Expand Up @@ -113,6 +114,11 @@ not.

A `boolean` value that determines whether symlinked files are unlisted or not.

###### `ignore_cwd_only`

A `boolean` value that determines whether to only unlist files that are within
the current working directory.

#### `pre_unlist`

A callback function that executes before unlisting a buffer. You can use this
Expand Down Expand Up @@ -177,7 +183,7 @@ Before making a pull request, please consider the following:
- [x] Symlinks.
- [ ] Filetypes.
- [ ] Outside the Git repository.
- [ ] Outside the current working directory.
- [x] Outside the current working directory.
- [ ] Custom callback.
- [ ] Allow opting out of unlisting when buffer is either modified or has
entered insert mode.
Expand Down

0 comments on commit 50cfa2f

Please sign in to comment.