Open wsdjeg opened 5 years ago
[ SpaceVim ] [09:35:22] [ Warn ] Failed to enable lsp for php, php-language-server is not executable!
The message has told you what the error is. php-language-server is not executable! you should make sure php-language-server is in your PATH.
wsdjeg@163.com
发件人: vsnote 发送时间: 2019-08-08 09:36 收件人: wsdjeg/SpaceVim-comments 抄送: Wang Shidong; Author 主题: Re: [wsdjeg/SpaceVim-comments] 使用 Vim 搭建 PHP 开发环境 | SpaceVim (#45) [ SpaceVim ] [09:35:22] [ Warn ] Failed to enable lsp for php, php-language-server is not executable! — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
PATH 里面我加了 php 的安装目录,没有 php-language-server 这个软件的目录。应该是没安装成功。。
添加 [[layers]] name = "lsp" 后,打开vim显示 vim-lsp: Installing failed
php-language-server 要怎么安装
php-language-server 要怎么安装
可以参考这个 https://github.com/felixfbecker/php-language-server/issues/611
php-language-server 我自己搭建了一个 应该会长期开放 有需要可以先拿去用 php.ncnb.net:8080
我更喜欢使用Codelobster IDE - http://www.codelobster.com
https://spacevim.org/cn/use-vim-as-a-php-ide/