suggestion: refuse to open `:Files` (and other commands) if `'hidden'` is off and window has unsaved changes
Open
question
- Dominant language
- Vim Script
- Stars
- 10.3k
- Forks
- 608
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 2
Description
### Checklist
- [X] I have fzf 0.54.0 or later
- [X] I have searched through the existing issues
### Output of `:echo system(fzf#exec() .. ' --version')`
n/a
### OS
- [ ] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.
### Problem / Steps to reproduce
sometimes i enter `:Files`, spend some time to find the file i want to open, then press enter, only to be greeted with an error, because i run w/ `'hidden'` off and happen to have some unsaved changes.
it would be great for `:Files` to refuse to open at all in this case.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.