1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-15 14:11:43 +03:00
kakoune/test/regression/0-spurious-undo-group-on-external/rc
Maxime Coste d3be78cca2 Only commit undo groups when buffer was modified
This fixes an interaction with kak-lsp that would trigger undo group
commit when setting a buffer option value.
2018-09-12 20:02:57 +10:00

3 lines
111 B
Plaintext

decl int my_option
hook global InsertChar r %{ eval -buffer %val{buffile} %{ eval "set buffer my_option 1" } }