marlonfan / coc-phpls

🐭 php language server for coc.nvim
MIT License
212 stars 16 forks source link

feat: Support for custom version of intelephense #70

Closed yaegassy closed 4 years ago

yaegassy commented 4 years ago

Description

coc-phpls has a property called phpls.path in package.json, but it is not currently used in the implementation.

I've added the ability to use a custom version of intelephense using the properties of phpls.path.

Set the "module path" for intelephense.

e.g. /path/to/node_modules/intelephense

This is an example of my actual setup.

  "phpls.path": "/Users/yaegassy/.nodebrew/current/lib/node_modules/intelephense",

How do you feel about adding this feature?

yaegassy commented 4 years ago

@marlonfan

Thanks merge and publishing to npm.

Please update and adjust the version number of package.json as well.