1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

coc.nvimのphpls拡張の代わりにintelephenseを入れた

Posted at

概要

coc.nvimの拡張機能 phplsが想定の動きをしなくなったので、intelephenseを入れた。

手順

1 coc.nvimから phplsのアンインストール

" vimでの操作
:CocUninstall coc-phpls

2 intelephenseのインストール

# ターミナルでの操作
npm i intelephense -g

3 intelephenseの設定

" vimで下記コマンドを実行
:CocConfig

4 下記を記載する

{
    "languageserver": {
        "intelephense": {
            "command": "intelephense",
            "args": ["--stdio"],
            "filetypes": ["php"],
            "initializationOptions": {
                "storagePath": "/tmp/intelephense"
            }
        }
    }
}

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?