-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: configuration flag to turn off modeline modification #38
Comments
@indigoviolet Can you provide a little more detail about what you're trying to do? Does your mode-line for a popup buffer have a buffer-local value, and does setting |
I'm using https://github.com/seagle0128/doom-modeline to manage my modeline. I have defined a custom segment that indicates when my vterm buffers are in I also have a custom modeline format for vterms, which gets turned on with AFAICT, the problem is that if I also treat vterm buffers as popper popups, popper will attempt to set This appears to happen even if I set The solution I was hoping for was to turn off popper's modeline modifications altogether, and define a doom-modeline segment for popper as well. |
I see, that makes sense. I've pushed a fix to the local-mode-line-format branch but I don't have time to test it right now. Are you using straight or a package manager that can pull from a specific branch? If yes, could you try pulling from this branch and letting me know if it works? I'll use this branch too for now.
|
Thank you! This fix appears to do the trick - it no longer overwrites the local mode line, and I'm happy with this. For your consideration: it might still be a good idea to provide a flag to turn off mode-line modification (setting |
I would like to manage how popup modelines look, but there is some interaction between popper setting it and my own hooks, such that popper restores it to the earlier configuration (ie reverse the effect of my hook).
The text was updated successfully, but these errors were encountered: