sponsor Vim development Vim logo Vim Book Ad

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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mercury.vim 0.11 2003-02-23 6.0 Andreas Hauser recognizes more syntax now
mercury.vim 0.1 2002-12-03 6.0 Andreas Hauser Initial upload
ip used for rating: 18.223.106.232

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github