From 8e7a30b028d19400bd65cfc795d7938012219581 Mon Sep 17 00:00:00 2001 From: Pixelastic Date: Wed, 22 Aug 2018 17:39:23 +0200 Subject: [PATCH] Make it also match ranges --- syntax_checkers/markdown/remark_lint.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syntax_checkers/markdown/remark_lint.vim b/syntax_checkers/markdown/remark_lint.vim index b6ab2ed2..6c642ddb 100644 --- a/syntax_checkers/markdown/remark_lint.vim +++ b/syntax_checkers/markdown/remark_lint.vim @@ -24,7 +24,8 @@ function! SyntaxCheckers_markdown_remark_lint_GetLocList() dict \'args_before': '--quiet --no-stdout --no-color' }) let errorformat = - \ ' %l:%c %tarning %m' + \ '%\s%#%l:%c%\s%#%tarning %m remark-lint,' . + \ '%\s%#%l:%c-%.%#%\s%#%tarning %m remark-lint' return SyntasticMake({ \ 'makeprg': makeprg,