added diff highlighting settings to make highlighted text readable when highlighted
This commit is contained in:
parent
6fda790b71
commit
cfeafce501
1 changed files with 5 additions and 0 deletions
|
@ -109,3 +109,8 @@ set clipboard+=unnamedplus
|
||||||
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %
|
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %
|
||||||
" Update binds when sxhkdrc is updated.
|
" Update binds when sxhkdrc is updated.
|
||||||
autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd
|
autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd
|
||||||
|
|
||||||
|
" Turns off highlighting on the bits of code that are changed, so the line that is changed is highlighted but the actual text that has changed stands out on the line and is readable.
|
||||||
|
if &diff
|
||||||
|
highlight! link DiffText MatchParen
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue