From 36d4cf4f5b30928c5e8d33f046d4086e64811b48 Mon Sep 17 00:00:00 2001 From: Guest0x0 Date: Sun, 3 May 2020 17:48:44 +0800 Subject: [PATCH] fix indent behavior for lines without indent --- rc/filetype/coq.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/coq.kak b/rc/filetype/coq.kak index 4fdc9eeb6..265bc94e0 100644 --- a/rc/filetype/coq.kak +++ b/rc/filetype/coq.kak @@ -111,7 +111,7 @@ provide-module coq %{ # Hence here only a simple mechanism of copying indent is done. define-command -hidden coq-copy-indent-on-newline %{ evaluate-commands -draft -itersel %{ - try %{ execute-keys -draft k s ^\h* y gh j P } + try %{ execute-keys -draft k s ^\h+ y gh j P } } }