nerdcommenter
nerdcommenter copied to clipboard
[> <] when commenting a line containing a multiline JavaScript comment
OS: Mac OS X 10.12.6 vim: 8.0 NERD Commenter: ff3d8d7d7cae2b64ad9c83c07f461f5115b2b7d6 Language: JavaScript File extension: .js
I have the following line
foo /* bar */
NERD Commenter comments it to the following code:
//foo [> bar <]
and after uncommenting it leaves:
foo [> bar <]
See also #270. It's not entirely clear to me what needs to happen here. I don't think it's possible to "round trip" all transformations in all cases. In cases that are potentially ambiguous like the one in your example you may need to configure which actions you want to take and make your own choices about how to reverse them.