diff --git a/vim/vimrc b/vim/vimrc index 39a22b4..d5c92da 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -87,10 +87,6 @@ syntax match jsonComment "\(/\*\)\|\(\*/\)" hi def link jsonComment Comment -augroup dotgit_diffs - au BufRead .git/*.diff let b:ale_fix_on_save=0 -augroup END - augroup dvc au BufRead dvc.yaml let b:ale_fix_on_save=0 au BufRead *.dvc let b:ale_fix_on_save=0 @@ -135,6 +131,8 @@ augroup dotgit " set a marker to avoid returning to the previous position in .git folders " (avoids returning to previous position for COMMIT_EDITMSG etc ) au BufReadPost */.git/* let b:dotgitFolder = 1 + " do not apply fixers to patches + au BufReadPost .git/*.diff let b:ale_fix_on_save=0 augroup END " Bash like keys for the command line