Incorrect comments set for php in vim

TekK

New Member
My vim used to auto-continue comments in php. For example:\[code\]/* | <- cursor here\[/code\]Then, pressing Enter gives me:\[code\]/* * | <- cursor here\[/code\]and again, gives me:\[code\]/* * * | <- cursor here\[/code\]etc...As far as I understand it, this is controlled by the \[code\]comments\[/code\] and \[code\]formatoptions\[/code\] options. However, whenever I open a php file now, \[code\]comments\[/code\] is set to:\[code\]s:<!--,m: ,e:-->\[/code\]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 \[code\]comments\[/code\] option is being set incorrectly.Here's a link to my .vimrchttp://pastebin.com/f1509ce65
 
Back
Top