Gary Johnson wrote:
> I'm running Vim 7.4.1152 in an xterm on a Red Hat Enterprise Linux
> 7.1 system and using Dr. Chip's AnsiEsc plugin (v13i) to make ANSI
> color escape sequences in some files readable.
>
> I noticed some odd behavior and simplified the conditions down to
> this (one line).
>
> $ vim -N -u NONE -o2 --cmd 'so plugin/cecutil.vim' --cmd 'so plugin/AnsiEscPlugin.vim' --cmd 'au BufWinEnter * AnsiEsc' --cmd 'au ColorScheme * AnsiEsc!'
>
> I used "-o2" to make the current-window and not-current-window
> status lines visible. <snip>
Hello:
AnsiEsc! is intended to
* clear out AnsiEsc syntax (syn clear)
* clear out AnsiEsc highlighting (hi clear)
* restore normal syntax highlighting (syn reset)
It appears that the "hi clear" step inside a ColorScheme autocmd is
evoking the odd highlighting change; I tried putting "hi clear" in the
place of "AnsiEsc!" and that did not cause the odd effect. Commenting
out the one line (hi clear) in the AnsiEsc.vim script avoids the odd
highlighting change.
Looks to me like an odd vim thing.
Regards,
Chip Campbell
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, February 3, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment