summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-06-07 09:28:00 +0100
committerGitHub <noreply@github.com>2017-06-07 09:28:00 +0100
commit8f9828e5bf6c98c9e15597edaab834949956c34e (patch)
tree033a5557cb48a8db43f7e899ec47aacdec40d62e
parent11e38efa83bc1376d88f810a8d94b4fd5b6f2b6e (diff)
parente4708c356bdf05b0bc135d35da3f714a3d9d7705 (diff)
downloadale-8f9828e5bf6c98c9e15597edaab834949956c34e.zip
Merge pull request #628 from mziab/fix-stylelint-handler
Fixed stylelint not catching all errors.
-rw-r--r--autoload/ale/handlers/css.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/css.vim b/autoload/ale/handlers/css.vim
index 7c4d3d14..28385986 100644
--- a/autoload/ale/handlers/css.vim
+++ b/autoload/ale/handlers/css.vim
@@ -42,7 +42,7 @@ function! ale#handlers#css#HandleStyleLintFormat(buffer, lines) abort
" src/main.css
" 108:10 ✖ Unexpected leading zero number-leading-zero
" 116:20 ✖ Expected a trailing semicolon declaration-block-trailing-semicolon
- let l:pattern = '\v^.* (\d+):(\d+) \s+(\S+)\s+ (.*[^ ])\s+([^ ]+)$'
+ let l:pattern = '\v^.* (\d+):(\d+) \s+(\S+)\s+ (.*[^ ])\s+([^ ]+)\s*$'
let l:output = []
for l:match in ale#util#GetMatches(a:lines, l:pattern)