From 6272ffc601f789529f6f9b676add8408a3301e46 Mon Sep 17 00:00:00 2001 From: kyoh86 Date: Tue, 14 May 2024 22:42:25 +0900 Subject: [PATCH] setlocal bufhidden=delete for: #13 --- denops/docbase/handler/buffer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/denops/docbase/handler/buffer.ts b/denops/docbase/handler/buffer.ts index 159aa85..fdb48a6 100644 --- a/denops/docbase/handler/buffer.ts +++ b/denops/docbase/handler/buffer.ts @@ -44,6 +44,7 @@ export async function prepareProxy( await option.swapfile.setLocal(denops, false); await option.buftype.setLocal(denops, "acwrite"); await option.filetype.setLocal(denops, ft); + await option.bufhidden.setLocal(denops, "delete"); }); await group(denops, "docbase-writecmd", (helper) => {