Friday, March 3, 2017

Re: How do I get C++ comments to wrap correctly?

On 2017-03-03, Barry Gold wrote:
> On 3/3/2017 9:55 AM, Gary Johnson wrote:

>> What about the results of this?
>>
>> :verbose set comments?
>>
>> The string of comma-separated values must include
>>
>> ://
>>
>> or Vim won't recognize // as a comment leader.
>
> :verbose set comments
> E519: Option not supported: comments

Well, that would explain the problem. The vim you're using is
probably the tiny or small version. I just ran a small version and
confirmed that the comments option is not supported.

The Cygwin base install comes with only vim-minimal. You'll just
need to install the vim package. It's currently at 8.0.329.

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 15 2017 20:45:09)
Included patches: 1-329
Modified by <cygwin@cygwin.com>
Compiled by <cygwin@cygwin.com>
Huge version without GUI. Features included (+) or not (-):

You'll want the vim-common package, too. I don't remember whether
or not it gets installed automatically when you install vim.

There's also a vim-doc package, but I don't have that one installed
and yet I have all the documentation available. I don't know what's
going on there. It wouldn't hurt to install vim-doc, too, though.

Regards,
Gary

--
--
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.

No comments:

Post a Comment