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 *.md setlocal spell
syntax on
if &diff
syntax off
endif
" if &diff
" syntax off
" endif
set expandtab
set autoindent