From b2714da78bbc7e25a99d93cfab7f4ff57198d35f Mon Sep 17 00:00:00 2001 From: Kabbaj Amine Date: Sun, 9 Oct 2016 22:54:34 +0300 Subject: Modify shell's pattern to handle locals other than english, fixes #69 --- ale_linters/sh/shell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') 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 -- cgit v1.2.3