Vim で TypeScript のカラースキーマに対応する
1836 ワード
はじめに
vim で TypeScript ( *.ts とか *.tsx ) を開いたところテキストファイルのように単色表示されたので、それを解決した際の備忘録です。
解決法
Vim Awesome で軽く見たらこちらのプラグインの Star が多かったのでこちらを採用。
repo: https://github.com/leafgarland/typescript-vim
- プラグインマネージャーに Vundle を利用している場合、.vimrc に以下を追記。
Plugin 'leafgarland/typescript-vim'
- 以下のコマンドを実行する。
$ vim +PluginInstall +qall
こんな感じになりました!カラースキーマは Solarized dark 利用です。
以上です。
関連記事
Author And Source
この問題について(Vim で TypeScript のカラースキーマに対応する), 我々は、より多くの情報をここで見つけました https://qiita.com/tanabee/items/ede8f7f219f736ad657f著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .