1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 21:22:00 +03:00
kakoune/test/compose/no-hook-on-unset-option-with-same-parent/rc

6 lines
209 B
Plaintext

decl str foo
hook global BufSetOption foo=.* %{ exec ifoo<esc> }
set-option buffer foo value # triggers hook
set-option global foo value # does not trigger hook
unset-option buffer foo # does not trigger hook