1 2 3 4 5 6 7 8
augroup diff_corrections autocmd! autocmd BufEnter * if &diff \| highlight Comment ctermfg=7 \| set nocursorline \| endif augroup END