I'm using the NerdCommenters leader c<space> to toggle comments on blocks of C code, but when those blocks already contain C comments, they get replaced, by default with [> and <], and toggling the comment back off doesn't replace these placeholder with /* and */ again.

I've learned doing two explicit uncomments, or an explicit uncomment (leader-cu) after the uncommenting toggle, reverts the placeholders back to /* and */.

Can things be set up so I don't need the extra uncomment? I'd like to limit myself to using just leader c<space> (toggle comment).

  • 1
    You could open an issue in the main git repo of the plugin. The devs would know better. – klaus Aug 24 '19 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.