Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit c2e7bf2

Browse files
committed
Escript: parseShebang() is more capable these days.
1 parent e340796 commit c2e7bf2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugin/syntastic.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if has('reltime')
1919
lockvar! g:syntastic_start
2020
endif
2121

22-
let g:syntastic_version = '3.4.0-116'
22+
let g:syntastic_version = '3.4.0-117'
2323
lockvar g:syntastic_version
2424

2525
" Sanity checks {{{1

syntax_checkers/erlang/escript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function! SyntaxCheckers_erlang_escript_GetLocList() dict
3030
endif
3131

3232
let shebang = syntastic#util#parseShebang()
33-
if shebang['exe'] =~# '\m\<escript$' || (shebang['exe'] ==# '/usr/bin/env' && shebang['args'][0] ==# 'escript')
33+
if shebang['exe'] ==# 'escript'
3434
let args = '-s'
3535
let post_args = ''
3636
else

0 commit comments

Comments
 (0)