From 3cf8e523a9fafe1c1c088145c6a68a93a0786a7d Mon Sep 17 00:00:00 2001 From: Ihor Urazov Date: Thu, 21 Apr 2022 15:26:03 +0300 Subject: [PATCH] Pass correct argument to bufhidden var in vim_api (#131) --- autoload/wilder/renderer/vim_api.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/wilder/renderer/vim_api.vim b/autoload/wilder/renderer/vim_api.vim index a0b7c38..946f74f 100644 --- a/autoload/wilder/renderer/vim_api.vim +++ b/autoload/wilder/renderer/vim_api.vim @@ -65,7 +65,7 @@ function! s:new_buf() abort call bufload(l:buf) call setbufvar(l:buf, '&buftype', 'nofile') - call setbufvar(l:buf, '&bufhidden', 1) + call setbufvar(l:buf, '&bufhidden', 'hide') call setbufvar(l:buf, '&swapfile', 0) call setbufvar(l:buf, '&undolevels', -1)