VIM PHP autocomplete


Lets add PHP autocomplete feature. In your $HOME/.vimrc file add the following command

autocmd FileType php set omnifunc=phpcomplete#CompletePHP




Once done, Open any PHP file and within the tag, write mysql_c and press Ctrl-x Ctrl-o , and here is what happens
太神奇了 
arrow
arrow
    全站熱搜

    peicheng 發表在 痞客邦 留言(2) 人氣()