A set of vim syntax files for highlighting the various Html templating languages in Haskell
Vim script Haskell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 36 commits behind pbrisbin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
after/syntax
ftdetect
syntax
test
README.md

README.md

Html Template Syntax

A collection of vim syntax files for working in haskell's various html templating languages (hamlet, cassius, lucius, and julius).

Provided is each syntax/$language.vim file for external templates as well as an after/syntax/haskell.vim which will properly highlight quasi-quoted blocks inside a haskell source file.

To use, just copy (or link) the contents of this repo into the correct directories under ~/.vim.

I would also recommend pathogen for automated plugin loading. See my vim repo (or just google around) for an example of this usage.

Todo

  • javascript inside a script tag is difficult due to the lack of a </script> region-end

  • Better screenshots here (volunteers?)

Screenshots

Embedded hamlet in a haskell source file:

Screenshot