Skip to content

Commit dca1a19

Browse files
authored
cleanup: remove old autocmd for bug fixed in 0.10 (#866)
Co-authored-by: Eman Resu <78693624+quatquatt@users.noreply.github.com>
1 parent 086a40d commit dca1a19

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

lua/conform/init.lua

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,6 @@ M.setup = function(opts)
119119
end
120120
end,
121121
})
122-
vim.api.nvim_create_autocmd("VimLeavePre", {
123-
desc = "conform.nvim hack to work around Neovim bug",
124-
pattern = "*",
125-
group = aug,
126-
callback = function()
127-
-- HACK: Work around https://github.com/neovim/neovim/issues/21856
128-
-- causing exit code 134 on :wq
129-
vim.cmd.sleep({ args = { "1m" } })
130-
end,
131-
})
132122
end
133123

134124
if opts.format_after_save then

0 commit comments

Comments
 (0)