vim syntax highlighting file for TeX and Haskell in the same file
Hi all I have written a vim syntax highlighting file which, given a literate script with TeX markup surrounding the Haskell code, will highlight both the TeX and Haskell. lhaskell.vim is at http://c93.keble.ox.ac.uk/~ian/haskell-vim/lhaskell.vim along with haskell.vim and tex.vim, but you should not need these as they should come with vim. lhaskell.vim should go in ~/.vim/syntax/ or somewhere else in your runtimepath (type ":set runtimepath" in vim to see it) A demo of what it should look like is at http://c93.keble.ox.ac.uk/~ian/haskell-vim/Demo.png I'm not sure how well it will work (if at all) in versions of vim prior to 6.0. Enjoy! Ian
This is far better than my simple bug fix of edition to John Williams' syntax files in Vim 6.0, which is on the haskell library page. But this has some problem. As I were poor making haskell sytax file I ``haskell.vim'' in a very bogusly ... Please DO Mail to the webmasters of www.haskell.org for update mailto:peterson-john@cs.yale.edu,olaf@cs.york.ac.uk Send them both `haskell.vim' and your modified `lhaskell.vim' Since I modified haskell.vim, current one in the haskell library page will confilct with yours. So both of them needs update. p.s. Also don't forget to send them to the vim developers mailto:vim-dev@vim.org
participants (2)
-
Ahn Ki-yung -
Ian Lynagh