1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-09-16 15:21:30 +02:00

vim: do not use fixers on .git dir patches

This commit is contained in:
bretello 2024-06-29 10:53:41 +02:00
parent daf8e73f1d
commit 28fae7b8ce
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -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