diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-02 18:51:14 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-02 18:53:06 +0100 |
commit | 5d95ae4d2c4a47589412fafd1572eaaaff15622d (patch) | |
tree | 6e95a463c0830602933aee3dee61370150c176b0 /modules/home.legacy/conf/nvim/plgs/flatten-nvim/lua/flatten-nvim.lua | |
parent | feat(flake/treefmt.nix): Specify lua formatter settings (diff) | |
download | nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.tar.gz nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.zip |
style(modules/legacy/conf/nvim): Format
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.lua | 4 |
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, |