From 4f2dc2a1692568deb65b677188d38d666cbd469d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 11 May 2019 00:02:59 +0200 Subject: diff-corrections: Move corrections to `autoload` Makes the code a little nicer and more extensible without the line continuations. Only change the highlight colour for the 'twilight256' colour scheme. --- bundle/diff-corrections/plugin/diff_corrections.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bundle/diff-corrections/plugin/diff_corrections.vim') diff --git a/bundle/diff-corrections/plugin/diff_corrections.vim b/bundle/diff-corrections/plugin/diff_corrections.vim index c3dd8bc..858537e 100644 --- a/bundle/diff-corrections/plugin/diff_corrections.vim +++ b/bundle/diff-corrections/plugin/diff_corrections.vim @@ -1,8 +1,5 @@ augroup diff_corrections autocmd! - autocmd BufEnter * if &diff - \| highlight Comment ctermfg=7 - \| set nocursorline - \| endif + autocmd BufEnter * call diff_corrections#Run() augroup END -- cgit v1.2.3