Browse Source

we don't need to remove autoformat group when there is none (#748)

Abouzar Parvan 4 years ago
parent
commit
a72d5b70de
1 changed files with 0 additions and 4 deletions
  1. 0 4
      lua/lv-neoformat/init.lua

+ 0 - 4
lua/lv-neoformat/init.lua

@@ -10,7 +10,3 @@ if O.format_on_save then
     },
     },
   }
   }
 end
 end
-
-if not O.format_on_save then
-  vim.cmd ":autocmd! autoformat"
-end