summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-19 12:30:20 +0000
committerw0rp <devw0rp@gmail.com>2017-11-19 12:30:20 +0000
commitd7a60ade77a30d4eed517030a0c50a5eee059be0 (patch)
tree289dfbc179c02baa061688785b2334a0dd9ebfe4 /autoload
parent01b2971d0432d6d25af0c592b4e0b2fdc7adcf7d (diff)
downloadale-d7a60ade77a30d4eed517030a0c50a5eee059be0.zip
#852 - Capture error codes for stylelint
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/css.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/handlers/css.vim b/autoload/ale/handlers/css.vim
index c7ae7c42..de9eadcc 100644
--- a/autoload/ale/handlers/css.vim
+++ b/autoload/ale/handlers/css.vim
@@ -61,7 +61,8 @@ function! ale#handlers#css#HandleStyleLintFormat(buffer, lines) abort
\ 'lnum': l:match[1] + 0,
\ 'col': l:match[2] + 0,
\ 'type': l:match[3] is# '✖' ? 'E' : 'W',
- \ 'text': l:match[4] . ' [' . l:match[5] . ']',
+ \ 'text': l:match[4],
+ \ 'code': l:match[5],
\})
endfor