From 33295806e91ff2e6187fc0bf7db1b537dd523ef8 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Wed, 2 Feb 2022 09:53:57 +0100 Subject: [PATCH] vimrc: add sh augroup --- roles/dotfiles/files/vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index 3dc654e..7a278ee 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -18,8 +18,11 @@ augroup py autocmd FileType python nnoremap :Black :Isort augroup end augroup terraform -autocmd FileType terraform :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix -autocmd FileType terraform nnoremap :! terraform fmt + autocmd FileType terraform :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix + autocmd FileType terraform nnoremap :! terraform fmt +augroup end +augroup sh + autocmd FileType sh :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix augroup end " vim-plug