conflicts.vim
is a Vim syntax file for *.conflicts
files. These files are
generated by Menhir, a LR(1) parser generator for the OCaml
programming language.
Download the latest version of the file, and drop it into your
~/.vim/syntax/
directory:
mkdir -p ~/.vim/syntax
wget http://www.vim.org/scripts/download_script.php?src_id=19764 \
-O ~/.vim/syntax/conflicts.vim
Then add the following line to your ~/.vimrc
file:
au BufNewFile,BufRead *.conflicts set ft=conflicts