vim: fix a bug that smartinput doesn't complete -> on pressing . in a PHP mode.