Skip to content
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

disabling status line #1123

Closed
d-s-a opened this issue Aug 30, 2023 · 2 comments · Fixed by #1168
Closed

disabling status line #1123

d-s-a opened this issue Aug 30, 2023 · 2 comments · Fixed by #1168

Comments

@d-s-a
Copy link

d-s-a commented Aug 30, 2023

Is there any way to disable rendering of the status line via runtime configuration? If not maybe I'll try to implement this feature.

@rnpnr
Copy link
Collaborator

rnpnr commented Aug 30, 2023

Something like the following maybe:

vis.events.subscribe(vis.events.WIN_STATUS, function(win)
	win:status("")
end)

You also might want to modify your theme to not colour the status bar:

vis.lexers.STYLE_STATUS = ''
vis.lexers.STYLE_STATUS_FOCUSED = ''

See the Lua API documentation for more info.

@d-s-a
Copy link
Author

d-s-a commented Aug 31, 2023

That solution does stop rendering the status line contents, however, the status line itself is still present. I don't think there's a built-in way to disable the status line yet, so I might go ahead and implement that sometime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants