-
Notifications
You must be signed in to change notification settings - Fork 30
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
Lualine is visible in Ataraxis mode #110
Comments
I set callback function for ataraxis mode hide lualine when open ataraxis mode, and unhide lualine when quitting it here is my config local status, true_zen = pcall(require, "true-zen")
if not status then
return
end
true_zen.setup({
modes = {
ataraxis = {
callbacks = {
open_pre = function()
require("lualine").hide()
end,
close_pre = function()
require("lualine").hide({ unhide = true })
end,
},
},
},
}) or maybe this is an another way (I didn't try it) use({
"Pocco81/true-zen.nvim",
config = function()
require("true-zen").setup {
-- your config goes here
-- or just leave it empty :)
modes = {
ataraxis = {
callbacks = {
open_pre = function()
require("lualine").hide()
end,
close_pre = function()
require("lualine").hide({ unhide = true })
end,
},
},
},
}
end,
}) |
I am also having this issue |
I mange to get lualine hiding well without callbacks requiring lualine. I use that at the end of my config beginning with something like your suggested second (untried by yourself) method. I'm using lazy.vim, so I preferred 'return', rather than 'use'
Regards, |
OT but this could be a good starting point to show how to install this with lazy.vim and should be copied to the README.md of this project. |
The minimalist mode properly hides the status line, but in the Ataraxis mode Lualine is still visible:
I have
globalstatus
for Lualine enabled and that renders the line at the top of the document as well in Ataraxis.The text was updated successfully, but these errors were encountered: