Skip to content

Commit

Permalink
Remove autocmds for diffing
Browse files Browse the repository at this point in the history
…which made gv.vim loose syntax highlighting.

Issue: junegunn/gv.vim#61
  • Loading branch information
last5bits committed Mar 3, 2024
1 parent ae9eb3e commit 3aab97c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions home/.vim/plugin/autocmds.vim
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ if has('autocmd')
\| endif
augroup END

augroup diffing
autocmd!
" Disable syntax when diffing
au FilterWritePost * if &diff | silent setlocal syntax=OFF |endif
au BufEnter * if !&diff | silent setlocal syntax=ON |endif
augroup END

augroup qf
autocmd!
" Exclude quickfix buffer from :bnext and :bprev
Expand Down

0 comments on commit 3aab97c

Please sign in to comment.