Monday, March 6, 2017

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

On 3/6/2017 9:19 AM, Gary Johnson wrote:
> On 2017-03-05, Barry Gold wrote:
>> On 3/3/2017 12:49 PM, Gary Johnson wrote:
>>> 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
>>>
>> I went to the cygwin installer. I have vim-minimal and vim-common. I
>> don't seem to be offered any other options for vim.
>>
>> Then I went to the vim website, downloaded and installed vim80. But
>> it appears I got only a GUI vim (gvim), not a command-line vim.
> My Cygwin installer, setup-x86.exe, version 2.877 (32 bit), when
> using http://mirrors.kernel.org as the download site, with the View
> set to Full and the Search box containing "vim" (no quotes) shows
> 8 packages:
>
> fzf-vim
> gvim
> vim
> vim-clang-format
> vim-common
> vim-debuginfo
> vim-doc
> vim-minimal
>
> The package you want is the vim package.
>
> Regards,
> Gary
>

That did it. Thank you.


--
On Beta, we'd have earrings for that. You could buy them in any jewelry store.
http://www.conchord.org/xeno/bdgsig.html

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