-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only skip alpha when listed buffers are associated with windows
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2348221
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make this an option - now using
%
in shada shows alpha again, although I already have files opened.2348221
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused, alpha is opening while you would have buffers open and visible to you? or do you just not want alpha to open when % loads files in the background? I've now gotten 2 requests for conflicting behavior because of this setting and I'm not sure how to accommodate both, especially because I don't understand the use case of this neovim setting I think. when would alpha even ever open on startup with % in shada? @JosefLitos
2348221
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me it always opened, no matter the settings. I never found a way to not show alpha upon
require'alpha'.setup(...)
. In the last couple of commits, it stopped showing up when I had buffers previously opened, which was great.%
is like a default session that automatically gets saved and loaded as you close or open neovim. I think the easiest would be to give a config option (fun(): boolean
) for initial start that would determine the behaviour. Something likeinitial_open
.