~torresjrjr/public-inbox

vim-haredoc: Reset LESS for popup windows v1 APPLIED

Max Schillinger: 1
 Reset LESS for popup windows

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~torresjrjr/public-inbox/patches/46171/mbox | git am -3
Learn more about email & git

[PATCH vim-haredoc] Reset LESS for popup windows Export this patch

Otherwise the popup window might close immediately if LESS contains an F
---
 plugin/haredoc.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/haredoc.vim b/plugin/haredoc.vim
index e65b389..ac69248 100644
--- a/plugin/haredoc.vim
+++ b/plugin/haredoc.vim
@@ -38,7 +38,7 @@ function Haredoc(symbol)
		let buf = term_start(
		\	[
		\		'sh', '-c',
		\		"haredoc -Ftty '"..symbol.."' | less -RKX",
		\		"haredoc -Ftty '"..symbol.."' | LESS= less -RKX",
		\	],
		\	#{
		\		term_name: '[haredoc] '..symbol,
-- 
2.42.0