test: Implement a regression test for #3733

This commit is contained in:
Frank LENORMAND 2020-09-16 10:59:12 +03:00
parent 95c095f3fb
commit 643bf2bb59
4 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,3 @@
:modeline-parse<ret>
%
:exec c %opt{tabstop}<ret>

View File

@ -0,0 +1,7 @@
# kak:tabstop=1:
# kak:tabstop=2:
# kak:tabstop=3:
foo
foo
foo
foo

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,2 @@
source "%val{runtime}/rc/detection/modeline.kak"
set-option global modelines 1