Open Mange opened 2 years ago
@Mange have you tried setting this in your true-zen config:
statusline = "%#Normal#"
?
Added this option:
Still happens…
Trying just :TZMinimalist
and manually splitting still shows this appearing under the focused window.
This does not happen in my theme before :TZMinimalist
(or after disabling minimalist again) since the highlights are different.
@Mange 1488013 makes it so whatever 'statusline'
you set for minimalist is overridden when you enable lualine integration.
I've actually been experiencing issues similar to you, and I made a fork of the project that fixes them. I haven't made a PR since I made some breaking changes and did quite a bit of opinionated refactoring that made it easier for me to reason about the codebase. In addition to fixing this issue, minimalist and ataraxis are (mostly) decoupled so that you can configure minimalist without those changes trickling down to ataraxis, enabling one mode disables all the other modes first to stop nesting issues, integrations.lualine
config was removed so that the code detects lualine and hides it automatically, and the _pos
callbacks were renamed to _post
.
If you want to try it out to see if that fixes the ^
's for you, be sure to change the repo name to loqusion/true-zen.nvim
and remove the integrations.lualine
from your true-zen config. I'm not sure if I'll make a PR yet since I don't want to intrude too much upon @Pocco81's intentions for this codebase.
If you do try it, let me know how it works out for you!
Still happens in your fork, sadly. :-(
(And since Lualine integration is removed Lualine stays visible.)
I just cloned your dotfiles and here's what I see:
Perhaps you forgot to add branch = 'some-fixes'
? I know, it's kinda weird :P I did it because it's an experimental fork and not meant to replace the original project.
EDIT: I just went ahead and pushed to the fork's main
branch. No need to add the line any more, just run PackerSync
.
Ha ha, yeah. I must've forgotten that change. I can confirm I get the correct results now in your fork. :facepalm:
Thank you!
It's my second attempt trying this plugin after a long time (I've been using folke/zen-mode.nvim), and this issue comes up right away. @loqusion's fork indeed fixes the problem.
@Mange 1488013 makes it so whatever
'statusline'
you set for minimalist is overridden when you enable lualine integration.I've actually been experiencing issues similar to you, and I made a fork of the project that fixes them. I haven't made a PR since I made some breaking changes and did quite a bit of opinionated refactoring that made it easier for me to reason about the codebase. In addition to fixing this issue, minimalist and ataraxis are (mostly) decoupled so that you can configure minimalist without those changes trickling down to ataraxis, enabling one mode disables all the other modes first to stop nesting issues,
integrations.lualine
config was removed so that the code detects lualine and hides it automatically, and the_pos
callbacks were renamed to_post
.If you want to try it out to see if that fixes the
^
's for you, be sure to change the repo name toloqusion/true-zen.nvim
, addbranch = 'some-fixes'
to your packer config, and remove theintegrations.lualine
from your true-zen config. I'm not sure if I'll make a PR yet since I don't want to intrude too much upon @pocco81's intentions for this codebase.If you do try it, let me know how it works out for you!
Nearly 2 years later, and I ran into this issue. Searched through the plugin's issues and found you, don't know how many people actually ran into this at all, but we appreciate you lol. Really unfortunate problem with this plugin, as I run into lag issues with folke's zen plugin (love folke, I probably just did something wrong with my config, but this plugin has everything I need and I've already spent a couple too many hours configuring my writing environment for the day haha).
TL;DR, thanks man.
I'm not sure why this happens to me specifically, but it appears to be standard behavior of Vim, so I would presume others have the same issue.
When the main window is focused, then the statusbar adds the fillchars. When focusing another "window", then that window gets it instead.
Left, Right, and Bottom windows do not get this.
According to the above linked StackExchange link, this happens when
StatusLine
andStatusLineNC
have the same highlight.Here's a different discussion in
nord-vim
about how they worked around it: https://github.com/arcticicestudio/nord-vim/issues/37Vim's manual says that
fillchars
is both a global value or a window-local value. Perhaps we could override thefillchars
to a non-breaking space and restore it when exiting the mode?[EDIT:] This is on the latest
main
commit, after #99 was fixed. The problem was there before #99 too, but I was not able to track this down until now.