summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2016-10-09 20:59:25 +0100
committerGitHub <noreply@github.com>2016-10-09 20:59:25 +0100
commitdea8af1e5706cbed01547d71c955caf94dae7515 (patch)
tree0f8544b889a2aefc54faca6632bccbe267015977
parent731033588dea86c8829a7f95383384205e4499be (diff)
parentb2714da78bbc7e25a99d93cfab7f4ff57198d35f (diff)
downloadale-dea8af1e5706cbed01547d71c955caf94dae7515.zip
Merge pull request #73 from KabbAmine/fix-69
Modify shell's pattern to handle locals other than english, fixes #69
-rw-r--r--ale_linters/sh/shell.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/sh/shell.vim b/ale_linters/sh/shell.vim
index f5987c03..2ea253df 100644
--- a/ale_linters/sh/shell.vim
+++ b/ale_linters/sh/shell.vim
@@ -39,7 +39,7 @@ function! ale_linters#sh#shell#Handle(buffer, lines)
"
" bash: line 13: syntax error near unexpected token `d'
" sh: 11: Syntax error: "(" unexpected
- let pattern = '^[^:]\+: \%(line \|\)\(\d\+\): \(.\+\)'
+ let pattern = '^[^:]\+: \%(\w\+ \|\)\(\d\+\): \(.\+\)'
let output = []
for line in a:lines