Skip to content

Commit

Permalink
🐛 Add noswapfile on Gin ++buffer ... command
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Mar 20, 2022
1 parent 4ac62b8 commit 78295b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/gin/core/bare/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function command(
proc.close();
if ("buffer" in opts) {
const cmdarg = formatOpts(opts, builtinOpts).join(" ");
await denops.cmd("enew");
await denops.cmd("noswapfile enew");
const bufnr = await fn.bufnr(denops);
await buffer.ensure(denops, bufnr, async () => {
await batch.batch(denops, async (denops) => {
Expand Down

0 comments on commit 78295b3

Please sign in to comment.