From b0d67e5038480a3836a4be59bc0819c30a8ca4de Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 15 Jan 2022 21:17:18 +0100 Subject: Remove autoformat on save --- lua/config/autocommands.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lua/config/autocommands.lua') diff --git a/lua/config/autocommands.lua b/lua/config/autocommands.lua index 010a48f..213801a 100644 --- a/lua/config/autocommands.lua +++ b/lua/config/autocommands.lua @@ -26,9 +26,4 @@ vim.cmd([[ autocmd! autocmd User AlphaReady set showtabline=0 | autocmd BufUnload set showtabline=2 augroup end - - augroup _lsp - autocmd! - autocmd BufWritePre * lua vim.lsp.buf.formatting() - augroup end ]]) -- cgit v1.2.3-70-g09d2