[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,
Applied to master, with some changes to the commit message.
To git.sr.ht:~torresjrjr/vim-haredoc
72d5909..179c408 master -> master
--
2.42.0