Skip to content

Question on NERDDefaultAlign & NERDCustomDelimiters #392

Open
@royyhlee

Description

@royyhlee

Hello, I'm really loving the plugin, but I had a question on how I need to configure NERDCommenter to get the results I want.

I have the following in my vimrc:

let g:NERDDefaultAlign = 'left'
let g:NERDCustomDelimiters = {
  \ 'typescript': { 'left': ' /**', 'right': '*/' }
  \ }

and I have the following code to comment, for example:

var a = '';

When I trigger NERDCommenterSexy, I expected the following:

/**
 * var a = '';
 */

But instead I get the following:

/**
  * var a = '';
  */

Is there a way to configure NERDCommenter to have the results I want?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions