1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-24 03:56:32 +03:00
kakoune/test/regression/1227-segfault-on-option-access/rc

11 lines
168 B
Plaintext

decl str _
hook global BufCreate \*test\* %{
hook buffer BufSetOption _=.+ 'exec "i%opt{_}"'
}
def test %{
edit -scratch *test*
set buffer=*test* _ "k"
}