andreyorst / powerline.kak

Kakoune modeline, but with passion
MIT License
50 stars 8 forks source link

Git module doesn't display unless powerline disabled and re-enabled #16

Closed johnisom closed 3 years ago

johnisom commented 4 years ago

Problem description

When using the git module with powerline and starting a new kakoune session within a git reopsitory (kak README.md), the module doesn't appear on the powerline bar until powerline is disabled and then enabled (:powerline-disable<ret>:powerline-enable<ret>)

Steps to reproduce

  1. Create a minimal config file:

    source "$val{config}/plugins/plug.kak/rc/plug.kak"
    
    plug "andreyorst/powerline.kak" defer powerline %{
       powerline-format 'git'
    } config %{
       powerline-start
    }
  2. Open kakoune, execute :plug-install<ret>. Quit when powerline.kak is finished installing
  3. cd to a git repository cd ~/.config/kak/plugins/powerline.kak
  4. Open kak on a file in that repository kak README.md

What should happen

I expect there to be a powerline module with the name of the current branch (master) as well as a branch symbol.

What happens instead

The status line is completely empty. If you run :powerline-disable<ret>:powerline-enable<ret>, the module properly loads/renders.

Environment information

Kakoune version: c2516f02f6ec036647f65b10e80f556ab9a71aab OS version: Ubuntu 20.04.1 LTS sh executable version:

andreyorst commented 4 years ago

Thank you for the issue, but unfortunately I currently have little time, and can't work on this plugin anymore. I'm currently looking for maintainers, so if you're interested, you can find more info here: https://discuss.kakoune.com/t/maintainance-warning-and-request

johnisom commented 4 years ago

Thanks for your reply. Best of luck with your new job

andreyorst commented 3 years ago

according to the merge request from @jdugan6240 this should now be fixed