LoginSignup
7
7

More than 5 years have passed since last update.

自分用のSyntax Highlightを追加

Last updated at Posted at 2013-06-23

NeoBundleを導入したので.vimrcで、NeoBundleをハイライトしてほしい

調べる

:help highlight とすると

syntax.jax

現在有効な全てのグループを知るにはこのコマンドを使う
:so $VIMRUNTIME/syntax/hitest.vim

とあるので、実行。うちの環境では読み込みに結構時間かかりました。
今回はそこのStatementグループと同じハイライトを実行したいと思ったので、そこのグループにあるvimStatementを採用。

記述する

vim.vim
" Vim Syntax file
" Language: vim
" Version: 0.1

syntax match vimStatement /^\(NeoBundleLazy\|NeoBundle\)/ display

上記を$VIMHOME/after/syntax/vim.vimに設置しましたところ、とりあえずの目的を達成しました。

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