mercury-old.vim : [deprecated] A vim syntax file for the Mercury language.
script karma |
Rating 8/5,
Downloaded by 982 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Andreas Hauser |
|
script type |
syntax |
|
description |
------------------------------------------------------------------------
Deprecated, hence renamed to mercury-old.vim from mercury.vim.
Please use Sebastian Godelet's work.
------------------------------------------------------------------------
A rather colorful vim syntax file for the Mercury language. |
|
install details |
Put it in ~/.vim/syntax/.
Then use
:setf mercury
in vim or set an autocommand
augroup filetype
au BufRead *.m set ft=mercury
augroup END
or add something like this to filetype.vim
where it tries to determine the filetype of .m files(grep for matlab).
if getline(n) =~ '^:-'
setf mercury
return
endif |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.223.106.232
|