Vim Tips Wiki

Use this page to discuss script 1218 NERD Commenter: easy commenting of code for many filetypes

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


let NERD_c_alt_style=1

but C file still uses delimiter /*...*/ as default comment delimiter, not //.... --June 29, 2013

In NERD_commenter.vim, the line for asy should be extended to:

\ 'asy': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },

since Asymptote does support the /*...*/ comment style. --June 10, 2014