summaryrefslogtreecommitdiff
path: root/test/regression/5147-python-block-comment-paragraphs/exit-block
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-06-11 19:33:33 +1000
committerMaxime Coste <mawww@kakoune.org>2024-06-11 19:33:33 +1000
commit17c25cc86a6bf4779f58fe2d2a5c13147bb27f2b (patch)
treefb3eff03e900644329c918900e5ac7b8f39ce348 /test/regression/5147-python-block-comment-paragraphs/exit-block
parenta35a7dc4a42ef0a0d83d5db7faeee7ad87ad0d24 (diff)
parent9c9aa2cf95a1503cddcba69aed8b5f1a234927d6 (diff)
Merge remote-tracking branch 'sjjf/python_comment_paras'
Diffstat (limited to 'test/regression/5147-python-block-comment-paragraphs/exit-block')
-rw-r--r--test/regression/5147-python-block-comment-paragraphs/exit-block/cmd1
-rw-r--r--test/regression/5147-python-block-comment-paragraphs/exit-block/in4
-rw-r--r--test/regression/5147-python-block-comment-paragraphs/exit-block/out3
-rw-r--r--test/regression/5147-python-block-comment-paragraphs/exit-block/rc3
4 files changed, 11 insertions, 0 deletions
diff --git a/test/regression/5147-python-block-comment-paragraphs/exit-block/cmd b/test/regression/5147-python-block-comment-paragraphs/exit-block/cmd
new file mode 100644
index 00000000..60ee9918
--- /dev/null
+++ b/test/regression/5147-python-block-comment-paragraphs/exit-block/cmd
@@ -0,0 +1 @@
+gjA<ret>
diff --git a/test/regression/5147-python-block-comment-paragraphs/exit-block/in b/test/regression/5147-python-block-comment-paragraphs/exit-block/in
new file mode 100644
index 00000000..582a11c7
--- /dev/null
+++ b/test/regression/5147-python-block-comment-paragraphs/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/regression/5147-python-block-comment-paragraphs/exit-block/out b/test/regression/5147-python-block-comment-paragraphs/exit-block/out
new file mode 100644
index 00000000..21bc5075
--- /dev/null
+++ b/test/regression/5147-python-block-comment-paragraphs/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/regression/5147-python-block-comment-paragraphs/exit-block/rc b/test/regression/5147-python-block-comment-paragraphs/exit-block/rc
new file mode 100644
index 00000000..a098fc21
--- /dev/null
+++ b/test/regression/5147-python-block-comment-paragraphs/exit-block/rc
@@ -0,0 +1,3 @@
+source "%val{runtime}/colors/default.kak"
+source "%val{runtime}/rc/filetype/python.kak"
+set buffer filetype python