Skip to content


Add checker for slim #360

merged 1 commit into from

3 participants


I sent a patch to slim upstream to add the column in a future release, but in the meantime...


Oh, they've pulled it. I'll update this request with a version comparison for the new efm. Forgot to say this fixes issue #358

@scrooloose scrooloose merged commit 43ac750 into scrooloose:master

Nice work! Just send me another pull request if/when you update it for the new slim checker.

@rbrown rbrown referenced this pull request

Close some issues #407


I wonder what's the status with slim-lang checker?
I am getting some weird error about output =
saying plain text isn't allowed in elements, but the line is actually in body tag...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 21, 2012
  1. @rbrown
This page is out of date. Refresh to see the latest.
Showing with 26 additions and 0 deletions.
  1. +26 −0 syntax_checkers/slim.vim
26 syntax_checkers/slim.vim
@@ -0,0 +1,26 @@
+"File: slim.vim
+"Description: Syntax checking plugin for syntastic.vim
+"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
+"License: This program is free software. It comes without any warranty,
+" to the extent permitted by applicable law. You can redistribute
+" it and/or modify it under the terms of the Do What The Fuck You
+" Want To Public License, Version 2, as published by Sam Hocevar.
+" See for more details.
+if exists("loaded_slim_syntax_checker")
+ finish
+let loaded_slim_syntax_checker = 1
+"bail if the user doesnt have the slim binary installed
+if !executable("slimrb")
+ finish
+function! SyntaxCheckers_slim_GetLocList()
+ let makeprg = "slimrb -c " . shellescape(expand("%"))
+ let errorformat = '%C\ %#%f\, Line %l,%-G\ %.%#,%ESlim::Parser::SyntaxError: %m,%+C%.%#'
+ return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
Something went wrong with that request. Please try again.