Skip to content

Line up comment tag for multiple line block #424

Open
@laoshaw

Description

@laoshaw

for html when I set:

let g:NERDSpaceDelims = 1                                                       
let g:NERDCompactSexyComs = 0                                                   
let g:NERDDefaultAlign = 'left'                                                 
let g:NERDAltDelims_java = 1                                                    
let g:NERDCustomDelimiters = {                                                  
    \ 'html': { 'left': '<!-- ','right': ' -->' }
\ }

after cs, I got

<!--
    my comment1
    my comment2
    -->

Can I make it align like below:

<!--
  my comment1
  my comment2
-->

C can do this as expected, but not for Custom Delimiters.

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