-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle the offset for the end of a three-piece comment ignored #2
Comments
Original comment by
|
I appear to run into this issue. |
I had to search the help to find this. It appears to be at :h format-comments and scroll down by a page. However, as you say, this doesn't seem to work as documented, so this issue shouldn't be closed I guess? |
Oh wait, I was just testing using And it seems to work as expected. So perhaps we can actually close this? |
Sad, it doesn't work for me with your command. Some other thoughts. Even we can prove it is fixed. I still think it is an issue. This thing, the offset for the end comment string, is pretty tricky. I don't think the |
no |
Yes, I know what the |
yes, it may depend on the what other files are sourced. You did not mention what version of vim you used. Perhaps it did not source those filetype plugins for c files? Check the output of |
I tried your command one more time on three different distributions, in case that different distro has different default config for vim. None worked. Here are their version info and the result of
|
Okay here is a screen recording I did: putty_4rIxrSoOme.mp4That is basically following what has been documented at :h format-comments
However I just noticed the |
Yes, that is the issue, otherwise what issue were you talking about? That is the very issue I was talking about. Just like the title says "the offset for the end of a three-piece comment". I was confused when I was watching your screen recording. Because you said it's working, but the video shows the same thing as what I see on my side, that is
Now as you noticed, the expected result should be like this, because of
Additionally, a positive offset doesn't work either, like
|
so the issue is still there. Why did you initially say this has been solved then?
|
I was asking. I just want to confirm if it is my fault (conflict settings?) or vim's fault. |
fair enough. I wasn't really aware of the complexity of the comments options and it looks like no-one was interested in fixing this for at least 7 years. So that explains why it is still open. |
Original issue reported on code.google.com by
lech.lor...@gmail.com
on 15 May 2011 at 10:34Attachments:
The text was updated successfully, but these errors were encountered: