Open pickfire opened 4 years ago
Do you have custom hooks set?
Any highlighters?
Did the buffer have long lines?
Do you have custom hooks set?
Yes, my custom hooks.
# user mode
map global user l -docstring 'lsp' ':enter-user-mode lsp<ret>'
# editorconfig
hook global WinCreate ^[^*]+$ %{editorconfig-load}
# formatter
hook global WinSetOption filetype=rust %{
# set buffer autowrap_fmtcmd 'fmt -s -p// -w %c'
# inlay hints
#hook window -group rust-inlay-hints BufReload .* rust-analyzer-inlay-hints
#hook window -group rust-inlay-hints NormalIdle .* rust-analyzer-inlay-hints
#hook window -group rust-inlay-hints InsertIdle .* rust-analyzer-inlay-hints
#hook -once -always window WinSetOption filetype=.* %{
# remove-hooks window rust-inlay-hints
#}
autowrap-enable
}
# ctags
hook global KakBegin .* %{
evaluate-commands %sh{
path="$PWD"
while [ "$path" != "$HOME" ] && [ "$path" != "/" ]; do
if [ -e "./tags" ]; then
printf "%s\n" "set-option -add current ctagsfiles %{$path/tags}"
break
else
cd ..
path="$PWD"
fi
done
}
}
Any highlighters?
Highlighters is using html
since I was working on html.
Did the buffer have long lines?
Not quite long, maybe like around 90 and it fits in my screen. But I have a lot of longer lines opened in other buffers, up to 120 columns which does not fit within my screen.
Steps
I cannot reproduce it either, I just did normal selection (hold
L
) and it just hangs.Outcome
Kakoune hangs, kakoune freezes display nothing.
Expected
It should not freeze.