diff --git a/test/regression/0-crash-on-BufSetOption-hook/cmd b/test/regression/0-crash-on-BufSetOption-hook/cmd new file mode 100644 index 00000000..6af5e73f --- /dev/null +++ b/test/regression/0-crash-on-BufSetOption-hook/cmd @@ -0,0 +1 @@ +:db:e out diff --git a/test/regression/0-crash-on-BufSetOption-hook/in b/test/regression/0-crash-on-BufSetOption-hook/in new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/regression/0-crash-on-BufSetOption-hook/in @@ -0,0 +1 @@ + diff --git a/test/regression/0-crash-on-BufSetOption-hook/out b/test/regression/0-crash-on-BufSetOption-hook/out new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/regression/0-crash-on-BufSetOption-hook/out @@ -0,0 +1 @@ + diff --git a/test/regression/0-crash-on-BufSetOption-hook/rc b/test/regression/0-crash-on-BufSetOption-hook/rc new file mode 100644 index 00000000..f3a1e28c --- /dev/null +++ b/test/regression/0-crash-on-BufSetOption-hook/rc @@ -0,0 +1,2 @@ +declare-option str foo +hook global BufSetOption 'indentwidth=(\d+)' %{set buffer foo bar}