From 3f0e1cd05dc526b073946ad96c64f6a5e2f9e4e6 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 10 Apr 2018 15:18:16 +0100 Subject: Fix #1492 - Make pylint error parsing work on Windows --- ale_linters/python/pylint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim index 27ee6c61..5eafd8f7 100644 --- a/ale_linters/python/pylint.vim +++ b/ale_linters/python/pylint.vim @@ -25,7 +25,7 @@ function! ale_linters#python#pylint#Handle(buffer, lines) abort " Matches patterns like the following: " " test.py:4:4: W0101 (unreachable) Unreachable code - let l:pattern = '\v^[^:]+:(\d+):(\d+): ([[:alnum:]]+) \(([^(]*)\) (.*)$' + let l:pattern = '\v^[a-zA-Z]?:?[^:]+:(\d+):(\d+): ([[:alnum:]]+) \(([^(]*)\) (.*)$' let l:output = [] for l:match in ale#util#GetMatches(a:lines, l:pattern) -- cgit v1.2.3