mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-11 20:01:30 +01:00
vim: do not use fixers on .git dir patches
This commit is contained in:
parent
daf8e73f1d
commit
28fae7b8ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user