Friday, January 25, 2013

Re: doxygen.vim: missing space before *

On Friday, January 25, 2013 6:31:03 AM UTC-6, Jeroen Budts wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Hash: SHA256
>
>
>
> Hi all,
>
>
>
> I recently enabled the doxygen.vim script (part of Vim) to highlight
>
> phpdoc inside php files. (let g:load_doxygen_syntax=1 in my .vimrc)
>
>
>
> When I start typing a phpdoc and press enter, Vim inserts a *, but
>
> without a space before it:
>
> /**
>
> * <- after <enter> vim auto inserts this
>
>
>
> With the doxygen-script disabled this is the (correct) behaviour:
>
> /**
>
> * <- after <enter> a leading space is inserted
>
>
>
> Does anyone know how this can be fixed?
>
> My 'formatoptions' are set as follows: qrowcb
>
>
>

It looks like your 'comments' option has been set incorrectly.

Take a look at :help 'comments' and :help format-comments, and then you'll probably need to make use of the after directory to fix whatever the plugin breaks.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: