StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

Indendation broken in comment blocks #56

Closed mikehaertl closed 6 years ago

mikehaertl commented 8 years ago

I found a problem when adding a linebreak inside an existing comment block. It only happens, if the first comment line starts with an @ like in @return or @param.

Here's an example:

vim-php-before-linebreak

As you see the cursor is right after "an". If I now enter insert mode and add a line break, it breaks indentation of the comment lines:

vim-php-after

StanAngeloff commented 6 years ago

This issue reminds me of #58. Closing and archiving this conversation.