From 5d95ae4d2c4a47589412fafd1572eaaaff15622d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 2 Nov 2024 18:51:14 +0100 Subject: style(modules/legacy/conf/nvim): Format --- modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua') diff --git a/modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua b/modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua index 42ea1eb6..2cdbcdde 100644 --- a/modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua +++ b/modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua @@ -44,9 +44,7 @@ require("flatten").setup({ vim.api.nvim_create_autocmd("BufWritePost", { buffer = bufnr, once = true, - callback = vim.schedule_wrap(function() - vim.api.nvim_buf_delete(bufnr, {}) - end), + callback = vim.schedule_wrap(function() vim.api.nvim_buf_delete(bufnr, {}) end), }) end end, -- cgit 1.4.1