about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua')
-rw-r--r--modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua4
1 files changed, 1 insertions, 3 deletions
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,