diff options
| author | KronikPillow <kronikpillow@gmail.com> | 2020-01-05 19:38:33 +0100 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-01-05 16:43:31 -0500 |
| commit | cfeafce50124603663f2e2dd0c52ab8e84b89d82 (patch) | |
| tree | 1bf1922478300728616cf1f2d92ce2c218571a64 /.config | |
| parent | 6fda790b71b5e7ca88a27c462955eee20a6566db (diff) | |
| download | eibhear-cfeafce50124603663f2e2dd0c52ab8e84b89d82.tar.gz eibhear-cfeafce50124603663f2e2dd0c52ab8e84b89d82.tar.zst eibhear-cfeafce50124603663f2e2dd0c52ab8e84b89d82.zip | |
added diff highlighting settings to make highlighted text readable when highlighted
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/init.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 16d88fb..2bdca65 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -109,3 +109,8 @@ set clipboard+=unnamedplus autocmd BufWritePost *Xresources,*Xdefaults !xrdb % " Update binds when sxhkdrc is updated. 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 |
