summaryrefslogtreecommitdiff
path: root/ale_linters/sh/shell.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/sh/shell.vim')
-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