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.

【Nuxt3】coc-volarの導入方法

Posted at

はじめに

スマホ(Android)で開発するのでVimの環境構築は必須です。

動作環境

  • Sony Xperia 10 IV
  • Android OS 12
  • UserLAnd 3.1.4
  • Ubuntu 20.04.5 LTS
  • Git 2.39.0
  • Vim 8.1.3741
  • Yarn 1.22.19

設定ファイルを編集

以下のように編集して、Vimを再起動します。

  • 編集前
~/.vimrc
call plug#begin()
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()

let g:coc_disable_startup_warning = 1
  • 編集後
~/.vimrc
call plug#begin()
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'yaegassy/coc-volar', {'do': 'yarn install'}
call plug#end()

let g:coc_disable_startup_warning = 1

coc-volarをインストール

:PlugInstallでcoc-volarをインストールします。

:PlugInstall

以下のように表示されたらインストール完了です。

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?