From 5a6fb51bdb43f15eafdbe1078183f754b4fecdf6 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 11 Jun 2024 19:39:07 +1000 Subject: Tweak python block command test location and remove wall of text We do not typically go into lengthy explanation of the code in the support scripts. This would have a performance impact (as comments are not trimmed in advance) and feels out of place. --- test/indent/python/exit-block/cmd | 1 + test/indent/python/exit-block/in | 4 ++++ test/indent/python/exit-block/out | 3 +++ test/indent/python/exit-block/rc | 3 +++ 4 files changed, 11 insertions(+) create mode 100644 test/indent/python/exit-block/cmd create mode 100644 test/indent/python/exit-block/in create mode 100644 test/indent/python/exit-block/out create mode 100644 test/indent/python/exit-block/rc (limited to 'test/indent/python/exit-block') diff --git a/test/indent/python/exit-block/cmd b/test/indent/python/exit-block/cmd new file mode 100644 index 00000000..60ee9918 --- /dev/null +++ b/test/indent/python/exit-block/cmd @@ -0,0 +1 @@ +gjA diff --git a/test/indent/python/exit-block/in b/test/indent/python/exit-block/in new file mode 100644 index 00000000..582a11c7 --- /dev/null +++ b/test/indent/python/exit-block/in @@ -0,0 +1,4 @@ +# A new line after a pair of empty comment lines should exit the +# block comment. +# +# diff --git a/test/indent/python/exit-block/out b/test/indent/python/exit-block/out new file mode 100644 index 00000000..21bc5075 --- /dev/null +++ b/test/indent/python/exit-block/out @@ -0,0 +1,3 @@ +# A new line after a pair of empty comment lines should exit the +# block comment. + diff --git a/test/indent/python/exit-block/rc b/test/indent/python/exit-block/rc new file mode 100644 index 00000000..a098fc21 --- /dev/null +++ b/test/indent/python/exit-block/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/filetype/python.kak" +set buffer filetype python -- cgit v1.2.3