Closed postsolar closed 10 months ago
Nope, I can’t reproduce on my system.
May you try to:
gdb
to attach to the pid of Kakoune, and provide a backtrace.Also, which operating system are you using?
It might be due to Kakoune standard modules acting on code on buffer initialization.
In fact if I turn off everything but the standard modules then this file "starts" with an edit history🤯. I didn't even know it's a thing. Anyways, if I disable standard modules loading then it's fine and KTS works as usual, so probably unrelated to KTS.
Okay, feel free to reopen if that happens again!
KTS version: kak-tree-sitter 0.5.2-dev-7bb2a67
There's a specific JS file on which my Kakoune session freezes as soon as I make any movement in the buffer (e.g. press j, k, e, etc). Interacting with Kakoune in other ways (e.g. the prompt) does not cause freezes. Trying to clear dead sessions afterwards makes that command freeze, as well as trying to connect to frozen session. I have tried it with an empty config file and empty autoload folder as well (just the KTS startup command). Kakoune version is current master.
This file is my config for a GTK widgets lib and isn't suspicious in any way. It behaves fine with Helix and with tree-sitter-cli.
Attached is this file, with changed extension (Github doesn't let
.js
in). config.txtPlease look if you can reproduce it, that's very weird indeed