NTBBloodbath / galaxyline.nvim

neovim statusline plugin written in lua
MIT License
163 stars 16 forks source link

Galaxyline kicks in when it's not configured #40

Open WhyNotHugo opened 2 years ago

WhyNotHugo commented 2 years ago

I removed galaxyline from my config in an attempt to experiment with another bar.

I found that galaxyline tries to take over the status bar even if one does not require the lua module at all. E.g.: Just by having the repo cloned in .local/share/nvim/site/pack/plugins/start, galaxyline tries to set iteslf up as the statusbar -- which results in an empty statusbar in cases where one is not configuring it at all.

I wonder if the content from https://github.com/NTBBloodbath/galaxyline.nvim/blob/main/plugin/galaxyline.lua should not be moved into a setup() function, so that galaxyline only tries to take over the statusbar if configured to do so explicitly. This would allow a setup to have it installed but inactive (which helps people migrating across bars, or merely just experimenting across them).