Vim plugin for syntax-highlighting of Yesod routes files (config/routes
).
Compatible with Vundle
, Pathogen
, Vim-plug
.
Open config/routes
or *.yesodroutes
. If you are using a routes
file in a different location:
:set filetype=yesod
in vim
will set the proper syntax highlighting.
config/models
, config/models/*
and *.persistentmodels
files are highlighted under the file type persistent
.
Adapted and stripped down from yesod.vim.