diff options
author | Kabbaj Amine <amine.kabb@gmail.com> | 2016-10-09 22:54:34 +0300 |
---|---|---|
committer | Kabbaj Amine <amine.kabb@gmail.com> | 2016-10-09 22:57:11 +0300 |
commit | b2714da78bbc7e25a99d93cfab7f4ff57198d35f (patch) | |
tree | 0f8544b889a2aefc54faca6632bccbe267015977 /ale_linters/sh | |
parent | 731033588dea86c8829a7f95383384205e4499be (diff) | |
download | ale-b2714da78bbc7e25a99d93cfab7f4ff57198d35f.zip |
Modify shell's pattern to handle locals other than english, fixes #69
Diffstat (limited to 'ale_linters/sh')
-rw-r--r-- | ale_linters/sh/shell.vim | 2 |
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 |