From 47f054112b91431f4af391e133f2fcc5f639309c Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 14 Jan 2014 20:33:49 +0200 Subject: [PATCH] Fix shebang parsing for escript. --- syntax_checkers/erlang/escript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/erlang/escript.vim b/syntax_checkers/erlang/escript.vim index 42b1e7fc..f91f6800 100644 --- a/syntax_checkers/erlang/escript.vim +++ b/syntax_checkers/erlang/escript.vim @@ -30,7 +30,7 @@ function! SyntaxCheckers_erlang_escript_GetLocList() dict endif let shebang = syntastic#util#parseShebang() - if shebang['exe'] ==# 'escript' + if shebang['exe'] =~# '\m\