Skip to content

PHP comment characters don't work #294

@yoshida-m-3

Description

@yoshida-m-3

I want you to comment out with #, but it becomes <!-->.

I set it as follows, but the result does not change.
What should I do?

  if !exists('g:tcomment_types')
    let g:tcomment_types = {}
  endif
  let g:tcomment_types['php'] = '// %s'
<?php

class Test
{
    public $aaa;
}

press gcc

<?php

class Test
{
    <!-- public $aaa; -->
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions