summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorSebastian Blask <blask@gmx.de>2020-07-31 11:14:57 +1200
committerSebastian Blask <blask@gmx.de>2020-07-31 11:15:13 +1200
commitfbfeae058712068b50cd4745590af1a5b33f7228 (patch)
tree497a67d996496080c93c6df84328edfebae69273 /autoload
parent275b5248e57b457d5d6daf8932915287585078ee (diff)
downloadale-fbfeae058712068b50cd4745590af1a5b33f7228.zip
Support markdownlint rules with multiple slashes
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/markdownlint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/markdownlint.vim b/autoload/ale/handlers/markdownlint.vim
index 5cef20ee..6c273bd0 100644
--- a/autoload/ale/handlers/markdownlint.vim
+++ b/autoload/ale/handlers/markdownlint.vim
@@ -2,7 +2,7 @@
" Description: Adds support for markdownlint
function! ale#handlers#markdownlint#Handle(buffer, lines) abort
- let l:pattern=': \?\(\d\+\)\(:\(\d\+\)\?\)\? \(MD\d\{3}/[A-Za-z0-9-]\+\) \(.*\)$'
+ let l:pattern=': \?\(\d\+\)\(:\(\d\+\)\?\)\? \(MD\d\{3}/[A-Za-z0-9-/]\+\) \(.*\)$'
let l:output=[]
for l:match in ale#util#GetMatches(a:lines, l:pattern)