Add regression test for crash on BufSetOption hook
This commit is contained in:
parent
56e2174cf6
commit
878d2a4bdb
1
test/regression/0-crash-on-BufSetOption-hook/cmd
Normal file
1
test/regression/0-crash-on-BufSetOption-hook/cmd
Normal file
|
@ -0,0 +1 @@
|
|||
:db<ret>:e out<ret>
|
1
test/regression/0-crash-on-BufSetOption-hook/in
Normal file
1
test/regression/0-crash-on-BufSetOption-hook/in
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
test/regression/0-crash-on-BufSetOption-hook/out
Normal file
1
test/regression/0-crash-on-BufSetOption-hook/out
Normal file
|
@ -0,0 +1 @@
|
|||
|
2
test/regression/0-crash-on-BufSetOption-hook/rc
Normal file
2
test/regression/0-crash-on-BufSetOption-hook/rc
Normal file
|
@ -0,0 +1,2 @@
|
|||
declare-option str foo
|
||||
hook global BufSetOption 'indentwidth=(\d+)' %{set buffer foo bar}
|
Loading…
Reference in New Issue
Block a user