From a72d5b70dea9b22a2582d9f7ec737e2c2af8053b Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 7 Jul 2021 10:58:50 +0430 Subject: we don't need to remove autoformat group when there is none (#748) --- lua/lv-neoformat/init.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lua') diff --git a/lua/lv-neoformat/init.lua b/lua/lv-neoformat/init.lua index a1540370..4f3bab60 100644 --- a/lua/lv-neoformat/init.lua +++ b/lua/lv-neoformat/init.lua @@ -10,7 +10,3 @@ if O.format_on_save then }, } end - -if not O.format_on_save then - vim.cmd ":autocmd! autoformat" -end -- cgit v1.2.3