https://gist.github.com/3129572 を見つけたのをきっかけに、Mercurial のシンタックスカラーを作ってみた。 ~/.vim/filetype.vim autocmd BufNewFile,BufRead hg-editor-*.txt \ :setf hgcommit \| :$r!hg diff ~/.vim/syntax/hgcommit.vim " Vim syntax file " Language: hg (Mercurial) commit file " Maintainer: Ken Takata <kentkt at csc dot jp> " Last Change: 2012 Jul 18 " Filenames: hg-editor-*.txt " License: VIM License " URL: https://github