Hi list.
http://ftp.vim.org/vim/patches/7.4/7.4.682
This fixes bug of cursorline. After 7.4.682, Behavior of highlighting of line
are changed.
a.txt
-----------------------
aaa xxx aaa xxx aaa
-----------------------
b.txt
-----------------------
aaa yyy aaa yyy aaa
-----------------------
$ vim b.txt
:diffsplit a.txt
:call matchadd('MatchParen', 'aaa')
You can see:
https://cloud.githubusercontent.com/assets/3096934/7513011/f94c9b02-f4eb-11e4-8820-bf020da9ed66.png
Before 7.4.682, this was:
https://cloud.githubusercontent.com/assets/3096934/7512982/c42a2c82-f4eb-11e4-91f9-577087c24397.png
After 7.4.682, middle "aaa" remains bold highlight of DiffChange.
:hi DiffChange
DiffChange xxx term=bold ctermbg=5 guibg=DarkMagenta
:hi MatchParen
MatchParen xxx term=reverse ctermbg=3 guibg=DarkCyan
Vim handle hl-DiffChange/hl-CursorLine both as highlighting par-line. So
7.4.682 is applied to hl-DiffChange. I want to ask you that this is a bug or
not. If you think this is a bug, 7.4.682 should be applied only for cursorline.
If not, this behavior is right.
How do you think?
- mattn
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.