Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

check phpm executable #9

Open
xw2423 opened this Issue May 17, 2012 · 1 comment

Comments

Projects
None yet
2 participants

xw2423 commented May 17, 2012

in ftplugin/php.vim:98

before Map C-H to search phpm, check php executable,like below:

if executable('phpm')
    inoremap <buffer> <C-H> <ESC>:!phpm <C-R>=expand("<cword>")<CR><CR>
endif

zenware commented Sep 11, 2014

I agree, I've been having errors with the script trying to load phpm lately, my plan to fix the issue was to get a phpm exec in the path somewhere but I can't seem to find any documentation on what the phpm executable actually is, so that's not very helpful.

Anyways +1 to this issue s this line is currently commented out of my file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment