From 1261093f90ce598e58ebd2c0dc40e1cf9de7cdd5 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 6 Feb 2022 19:43:26 +0100 Subject: chore: format autocommands --- lua/config/autocommands.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/config/autocommands.lua') diff --git a/lua/config/autocommands.lua b/lua/config/autocommands.lua index e1548e5..ef144d9 100644 --- a/lua/config/autocommands.lua +++ b/lua/config/autocommands.lua @@ -8,20 +8,24 @@ vim.cmd [[ autocmd BufWinEnter * :set formatoptions-=cro autocmd FileType qf set nobuflisted augroup end + augroup _git autocmd! autocmd FileType gitcommit setlocal wrap autocmd FileType gitcommit setlocal spell augroup end + augroup _markdown autocmd! autocmd FileType markdown setlocal wrap autocmd FileType markdown setlocal spell augroup end + augroup _auto_resize autocmd! autocmd VimResized * tabdo wincmd = augroup end + augroup _alpha autocmd! autocmd User AlphaReady set showtabline=0 | autocmd BufUnload set showtabline=2 -- cgit v1.2.3-70-g09d2