summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorKabbaj Amine <amine.kabb@gmail.com>2016-10-09 22:54:34 +0300
committerKabbaj Amine <amine.kabb@gmail.com>2016-10-09 22:57:11 +0300
commitb2714da78bbc7e25a99d93cfab7f4ff57198d35f (patch)
tree0f8544b889a2aefc54faca6632bccbe267015977 /ale_linters
parent731033588dea86c8829a7f95383384205e4499be (diff)
downloadale-b2714da78bbc7e25a99d93cfab7f4ff57198d35f.zip
Modify shell's pattern to handle locals other than english, fixes #69
Diffstat (limited to 'ale_linters')
-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