Keep syntax highlighting even on diff

This commit is contained in:
Edward Litherland-Smith 2021-02-19 13:41:46 +00:00
parent 519cf87831
commit 3fe142b8ca

6
vimrc
View file

@ -32,9 +32,9 @@ set colorcolumn=+1
au BufRead,BufNewFile *.ipynb setlocal filetype=json au BufRead,BufNewFile *.ipynb setlocal filetype=json
au BufRead,BufNewFile *.md setlocal spell au BufRead,BufNewFile *.md setlocal spell
syntax on syntax on
if &diff " if &diff
syntax off " syntax off
endif " endif
set expandtab set expandtab
set autoindent set autoindent