From 9d4d8779af0acab902f0b1c1e26c9c2d9ee32283 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Jan 2022 23:25:44 +0100 Subject: Fix format on save --- lua/config/autocommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/config') diff --git a/lua/config/autocommands.lua b/lua/config/autocommands.lua index a6038d2..010a48f 100644 --- a/lua/config/autocommands.lua +++ b/lua/config/autocommands.lua @@ -26,7 +26,7 @@ vim.cmd([[ autocmd! autocmd User AlphaReady set showtabline=0 | autocmd BufUnload set showtabline=2 augroup end - Autoformat + augroup _lsp autocmd! autocmd BufWritePre * lua vim.lsp.buf.formatting() -- cgit v1.2.3-70-g09d2