This is the mail archive of the
mailing list for the Cygwin project.
Re: 2.2.0: possible bug with Vim 7.4.764 and syntax highlight
- From: Gary Johnson <garyjohn at spocom dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 4 Aug 2015 10:58:12 -0700
- Subject: Re: 2.2.0: possible bug with Vim 7.4.764 and syntax highlight
- Authentication-results: sourceware.org; auth=none
- References: <CAD-f6FqzuHU286zQ2ySE6A2CbJbqX5MGujnycNx5ptqse0wUSA at mail dot gmail dot com>
On 2015-08-04, Xealot wrote:
> There seems to be a possible bug with cygwin 2.2.0 in xterm terminal
> mode (default) and using vim 7.4.764 with syntax highlighting enabled.
> To verify and reproduce:
> echo "syntax on" >> ~/.vimrc
> vim -E
> The prompt at the bottom should now show an escape sequence:
> Entering Ex mode. Type "visual" to go to Normal mode.
> This causes issues when using vim as normal in this configuration
> because the inserted escape sequence seems to replace the first
> character in a given document with a 'g' when opened.
> The problem goes away when changing terminal type to vt100 or vt220 or
> if you downgrade vim to revision 752 available on some mirrors through
> the setup.
There is at least one bug in that version having to do with the
automatic querying of the terminal's background color introduced
with patch 7.4.757. There have been two subsequent patches that
have fixed all known issues with that feature, 7.4.766 and 7.4.770.
Updating to version 7.4.770 or later should fix the problem.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple