From 63a6a6acff5172d6892498d47d7fdb15ca6f790d Mon Sep 17 00:00:00 2001 From: Johan Venter Date: Thu, 24 Dec 2020 12:29:54 -0800 Subject: Stop blowing away the BufWritePre augroup in ftplugins --- ftplugin/lua.vim | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ftplugin/lua.vim') diff --git a/ftplugin/lua.vim b/ftplugin/lua.vim index 17f937c..8787422 100644 --- a/ftplugin/lua.vim +++ b/ftplugin/lua.vim @@ -1,8 +1,3 @@ let b:prettier_ft_default_args = { \ 'parser': 'lua', \ } - -augroup Prettier - autocmd! - autocmd BufWritePre *.lua call prettier#Autoformat() -augroup end -- cgit v1.3