Q:
~/.vimrc中的片段:
"规定的第1个pattern:
match Title /=== .* ===/
“规定的第2个pattern:
match Comment /\/\/ .*$/
重新打开编辑的文件发现只有第二个pattern有效。
A:
使用syntax match或2match & 3match命令。
Reference:
http://stackoverflow.com/questions/8116563/vim-match-remove-other-match