Skip to content

how to change the comment style like /** */ and the char * aligined with the first char * of the first row #288

Open
@fantiq

Description

@fantiq

now i can chang the default comment string like /** */ by the following rc file

Plugin 'scrooloose/nerdcommenter'
let g:NERDSpaceDelims=1
let g:NERDCustomDelimiters={ 'php' : { 'leftAlt': '/**','rightAlt': '*/', 'left' : '//'} }

when i press the <leader>cs i get the string like this:

/**
  *
  */

but this not what i want , i want to get the comment string like this:

/**
 *
 */

any idea ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions