Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bnf.vimをインストールしました(BNF 文法ファイルを強調表示)。
コードにコメントがあるとします。
/* <BNF> <S> := <A> | h <A> := a | b | c | . </BNF> */
ファイル全体のファイルタイプにもかかわらず、BNF構文でそのコメントを強調表示するようにVimを何らかの方法でプログラムできますか?