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 1 year has passed since last update.

[nvim]coc.nvimを追加する(vim-plug)

Posted at

coc.nvimをnvimに追加する手順

neovim & vim-plug初心者(私)がcoc.nvimを導入するまでのメモ

事前準備

node.jsをインストールをしておく

1. init.vimにPlugをコピペする

init.vim
call plug#begin()
"ここにPlugInを追加する"
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()

その後:PlugInstallする

:PlugInstall

やり方はcoc.nvim(github)のQuick Start For vim-plug users:に書いてあります。
https://github.com/neoclide/coc.nvim

2. vimでextensionsをインストールする

extensionsはたくさんあるので、使いたいものをインストールする。
下にリンクを貼っているので、そこから各言語のコマンドを見ることができます。

例:coc-htmlの場合

:CocInstall coc-html

extensions一覧↓
https://github.com/neoclide/coc-html
スクリーンショット 2023-06-06 20.02.53.png

3. vim index.html

こんな感じでレコメンドしてくれます。
Ctrl + yで補完してくれます!

スクリーンショット 2023-06-06 20.06.07.png

以上。

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?