# Kak-bundle breaks when upgrading kakoune-lsp

**URL:** <https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527>\
**Category:** Help\
**Tags:** plugins\
**Created:** [August 12, 2024, 9:52am UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527 "2024-08-12T09:52:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![oktoling](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/oktoling/32/1441_2.png) [@oktoling](https://discuss.kakoune.com/u/oktoling)\
**Post date:** [August 12, 2024, 9:52am UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/1 "2024-08-12T09:52:45Z")

</div>

so i have this config

```auto
bundle kakoune-lsp https://github.com/kakoune-lsp/kakoune-lsp %{
    # configuration goes here
} %{
    # install script
    cd ~/.config/kak/bundle/kakoune-lsp
    cargo install --locked --force --path .
}

```

running `:bundle-install` works fine until it goes to compile `kakoune-lsp`, where `*bundle-status*` will show the rust compilation and then crash, afterwards this error is spammed in `*debug*`:

```plaintext
error running hook NormalIdle()/bundle-status: 1:2: 'bundle-install-hook-update-hook': 3:5: 'evaluate-commands': parse error: 10:23: unterminated string '%{...}'

```

afaik this only occurs when updating `kakoune-lsp`, i also have `kak-tree-sitter` and compiling it works just fine with the same config as the lsp.  
any help is appreciated

---

<div class="post-metadata">

**Author:** ![jdugan6240](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jdugan6240/32/637_2.png) [@jdugan6240](https://discuss.kakoune.com/u/jdugan6240)\
**Post date:** [August 14, 2024, 2:04pm UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/2 "2024-08-14T14:04:09Z")

</div>

Hi, `kak-bundle` author here. Yeah, that’s a bug in `kak-bundle` - I just need to make time to sit down and fix it.

---

<div class="post-metadata">

**Author:** ![jdugan6240](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jdugan6240/32/637_2.png) [@jdugan6240](https://discuss.kakoune.com/u/jdugan6240)\
**Post date:** [August 15, 2024, 3:54pm UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/3 "2024-08-15T15:54:11Z")

</div>

Ok, the issue tracking this bug is here: [#17 - Crash when running install hooks - jdugan6240/kak-bundle - Codeberg.org](https://codeberg.org/jdugan6240/kak-bundle/issues/17)

I know what’s causing this problem, and how to fix it, so I’ll do it when I get home from work.

---

<div class="post-metadata">

**Author:** ![jdugan6240](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jdugan6240/32/637_2.png) [@jdugan6240](https://discuss.kakoune.com/u/jdugan6240)\
**Post date:** [August 16, 2024, 1:02am UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/4 "2024-08-16T01:02:00Z")

</div>

Ok, I pushed a commit that should fix it. Let me know if the problem persists.

---

<div class="post-metadata">

**Author:** ![oktoling](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/oktoling/32/1441_2.png) [@oktoling](https://discuss.kakoune.com/u/oktoling)\
**Post date:** [August 16, 2024, 4:11am UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/5 "2024-08-16T04:11:37Z")

</div>

just confirmed that it is working, thank you!

---

<div class="post-metadata">

**Author:** ![jdugan6240](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jdugan6240/32/637_2.png) [@jdugan6240](https://discuss.kakoune.com/u/jdugan6240)\
**Post date:** [August 22, 2024, 5:42pm UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/6 "2024-08-22T17:42:54Z")

</div>

BTW, I just noticed that in your install script, you don’t need to `cd` into the kak-lsp directory. `kak-bundle` does that for you.

---

<div class="post-metadata">

**Author:** ![oktoling](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/oktoling/32/1441_2.png) [@oktoling](https://discuss.kakoune.com/u/oktoling)\
**Post date:** [August 28, 2024, 11:20am UTC](https://discuss.kakoune.com/t/kak-bundle-breaks-when-upgrading-kakoune-lsp/2527/7 "2024-08-28T11:20:11Z")

</div>

Thanks! updated my config accordingly.
