robertmeta / plug.kak

Plugin manager for Kakoune
MIT License
54 stars 4 forks source link

`plug-clean` seems to make plug.kak delete itself? #10

Open nikki93 opened 3 years ago

nikki93 commented 3 years ago

I have just the following in '~/.config/kak/kakrc' (just starting with kakoune):

source "%val{config}/plugins/plug.kak/rc/plug.kak"

plug "dracula/kakoune" theme config %{
  colorscheme dracula
}

It seems like if I do plug-clean it makes plug delete itself. :sweat_smile: So maybe I need an explicit plug line for itself, but is that the intended behavior?

Seems like a leftover '.plug.kak.lock' sticks around too. :thinking:

SeerLite commented 3 years ago

Add the following after sourcing plug.kak:

plug "https://github.com/robertmeta/plug.kak" noload

There's a lot of people with this problem all the time it seems (#5 :eyes: ). Myself included, I even remember making an issue on the original repo about this because I only skimmed the readme. I think this should be added to the installation steps. I'll see if I find some time to do that ;)