view runtime/compiler/haml.vim @ 7666:8edd1afaf6b7 v7.4.1132

commit https://github.com/vim/vim/commit/99dbe291f55022bd5166c9c3c7967b8693cd9d1b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 19 13:07:23 2016 +0100 patch 7.4.1132 Problem: Old style tests for the argument list. Solution: Add more new style tests. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jan 2016 13:15:05 +0100
parents 2b11ac90d9e9
children 43efa4f5a8ea
line wrap: on
line source

" Vim compiler file
" Compiler:	Haml
" Maintainer:	Tim Pope <vimNOSPAM@tpope.org>
" Last Change:	2013 May 30

if exists("current_compiler")
  finish
endif
let current_compiler = "haml"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo-=C

CompilerSet makeprg=haml\ -c

CompilerSet errorformat=
      \Haml\ %trror\ on\ line\ %l:\ %m,
      \Syntax\ %trror\ on\ line\ %l:\ %m,
      \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

" vim:set sw=2 sts=2: