diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2026-04-20 02:36:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-19 20:36:55 -0400 |
| commit | fe986e5dd094b2f7e1d28e64e52ffbc5f7292191 (patch) | |
| tree | eae04471b5d12c3e419b4961c8f5405706ffb47b /test/functional/vimscript/executable_spec.lua | |
| parent | 5f6abd34f5c12534df0d79ee3507d40106ad505d (diff) | |
feat(options): add 'winpinned' to pin a window #39157
Problem:
- Unable to "pin" a window to prevent closing without specifically
being targeted.
- :fclose closes hidden windows (even before visible windows).
Solution:
- Add 'winpinned' window-local option. When set, window is skipped by
:fclose and :only. Pin the ui2 cmdline window (which should always be
visible), so that it is not closed by :only/fclose.
- Skip over hidden (and pinned) windows with :fclose.
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
