andreyorst / powerline.kak

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

`powerline-theme` not found when put in config #31

Open auroraanna opened 2 years ago

auroraanna commented 2 years ago

Problem description

Steps to reproduce

  1. Put powerline into autoload folder.
  2. Put powerline-start and powerline-theme gruvbox into kakoune config.
  3. Open kakoune

What should happen

What happens instead

Autoload: could not load /nix/store/k1h6xbg4fcpdckz3arz5gp5ldgfygsvx-kakoune-2021.11.08/share/kak/autoload/plugins/tabs-kak/rc/tabs.kak
/home/annaaurora/.config/kak/kakrc:58:1: 'powerline-theme': no such command
/nix/store/k1h6xbg4fcpdckz3arz5gp5ldgfygsvx-kakoune-2021.11.08/share/kak/kakrc:29:1: 'evaluate-commands': 163:1: 'source': 58:1: 'powerline-theme': no such command
error while parsing kakrc:
    1:1: 'source': 29:1: 'evaluate-commands': 163:1: 'source': 58:1: 'powerline-theme': no such command

powerline-theme command not found even though it can be run and works inside of kakoune.

Environment information

Kakoune version: 2021.11.08 OS version: NixOS 22.11 sh executable version: zsh 5.9 (x86_64-pc-linux-gnu)

andreyorst commented 2 years ago
  1. Put powerline into autoload folder.
  2. Put powerline-start and powerline-theme gruvbox into kakoune config.
  3. Open kakoune

Hi! If you could provide a minimal kakrc it would be easier to figure out where the problem is.