test: Implement a regression test for #3733
This commit is contained in:
parent
95c095f3fb
commit
643bf2bb59
|
@ -0,0 +1,3 @@
|
||||||
|
:modeline-parse<ret>
|
||||||
|
%
|
||||||
|
:exec c %opt{tabstop}<ret>
|
7
test/regression/3733-modeline-parsing-off-by-one-line/in
Normal file
7
test/regression/3733-modeline-parsing-off-by-one-line/in
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# kak:tabstop=1:
|
||||||
|
# kak:tabstop=2:
|
||||||
|
# kak:tabstop=3:
|
||||||
|
foo
|
||||||
|
foo
|
||||||
|
foo
|
||||||
|
foo
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
2
test/regression/3733-modeline-parsing-off-by-one-line/rc
Normal file
2
test/regression/3733-modeline-parsing-off-by-one-line/rc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
source "%val{runtime}/rc/detection/modeline.kak"
|
||||||
|
set-option global modelines 1
|
Loading…
Reference in New Issue
Block a user