Timeline for Why does vim ignore commentstring when folding (foldmethod=marker)
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 6, 2019 at 6:46 | history | edited | muru |
edited tags
|
|
Dec 6, 2018 at 20:18 | vote | accept | René Nyffenegger | ||
Dec 6, 2018 at 16:51 | answer | added | Maxim Kim | timeline score: 1 | |
Dec 6, 2018 at 16:48 | comment | added | Maxim Kim |
@ChristianBrabandt you will be surprised... I try to zfip on a lorem ipsum paragraph and it doesnt work. On a blabla paragraph it works. :)
|
|
Dec 6, 2018 at 16:39 | comment | added | Christian Brabandt | BTW: In what version does that happen? #1549 could be responsible, but as said before I do not see this. | |
Dec 6, 2018 at 16:29 | comment | added | Christian Brabandt | @MaximKim that does not happen for me. A testfile would be good, with exact reproduction steps. | |
Dec 6, 2018 at 16:24 | comment | added | Maxim Kim |
@ChristianBrabandt and it happens when you try to do it on a paragraph for example, but don't start and end on empty lines. Just do zfip .
|
|
Dec 6, 2018 at 16:22 | comment | added | Maxim Kim |
@ChristianBrabandt I can reproduce it with comments=s:<!--,m: ,e:--> which is set by html filetype.
|
|
Dec 6, 2018 at 16:13 | comment | added | Christian Brabandt |
Sh, it seems to be caused by the n:> flag of the 'comments' option, however, that is not included in the html filetype (so it happens, if you manually override it afterwards). Please check where you set this
|
|
Dec 6, 2018 at 16:05 | comment | added | Christian Brabandt |
cannot reproduce. Please try to come up with a minimal example starting with vim --clean
|
|
Dec 6, 2018 at 15:45 | comment | added | Maxim Kim |
It works for XML, but doesn't work for HTML, indeed. But if you setlocal comments= then it will work.
|
|
Dec 6, 2018 at 15:25 | history | asked | René Nyffenegger | CC BY-SA 4.0 |