LoginSignup
25
8

More than 5 years have passed since last update.

Vim で TypeScript のカラースキーマに対応する

Last updated at Posted at 2018-03-02

はじめに

vim で TypeScript ( *.ts とか *.tsx ) を開いたところテキストファイルのように単色表示されたので、それを解決した際の備忘録です。

解決法

Vim Awesome で軽く見たらこちらのプラグインの Star が多かったのでこちらを採用。
repo: https://github.com/leafgarland/typescript-vim

  1. プラグインマネージャーに Vundle を利用している場合、.vimrc に以下を追記。
Plugin 'leafgarland/typescript-vim'
  1. 以下のコマンドを実行する。
$ vim +PluginInstall +qall

スクリーンショット 2018-03-02 12.36.50.png

こんな感じになりました!カラースキーマは Solarized dark 利用です。

以上です。

関連記事

25
8
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
25
8