My vim used to auto-continue comments in php. For example:
/* | <- cursor here
Then, pressing Enter gives me:
/*
* | <- cursor here
and again, gives me:
/*
*
* | <- cursor here
etc...
As far as I understand it, this is controlled by the comments
and formatoptions
options. However, whenever I open a php file now, comments
is set to:
s:<!--,m: ,e:-->
I've looked all over my ~/.vim folder, as well as the $VIMRUNTIME folder, and I can't find out where/why this changed, and why the comments
option is being set incorrectly.
Here's a link to my .vimrc