みたいなやり取りがあって、Vim のシンタックスハイライトを設定して、視覚的に【BOOST_PP】を消してみました。 ついでに、個人的に読みづらい【大文字→小文字】にも変更。 視覚的に変えているだけなので、実際のコードが変更されているわけではありません。 [_vimrc] " BOOST_PP を消す " とりあえず、filetype=cpp の場合に設定が有効になるように設定 autocmd Filetype cpp call <SID>boost_pp_syntax() function! s:boost_pp_syntax() if exists("b:boost_pp_syntax") return endif let b:boost_pp_syntax=1 " BOOST_PP_(+PP_) を _ に変更して表示 syntax match boost_pp /BOOST_PP_