vim: disable ALE fix on save on git diffs

master
bretello 2024-04-05 15:11:07 +02:00
parent c137ef0e0f
commit 62c95b60d5
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ 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