We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc84a09 commit 12e6683Copy full SHA for 12e6683
ftplugin/markdown.vim
@@ -14,7 +14,7 @@ endif
14
let g:GFMHeadingIds = {}
15
16
function! s:HeadingLineRegex()
17
- return '\v(^.+$\n\=+|^.+$\n\-+|^#{1,6})'
+ return '\v(^.+$\n^\=+$|^.+$\n^\-+$|^#{1,6})'
18
endfunction
19
20
function! s:GetSections(beginRegex, endRegex)
test/GFM.md
@@ -15,9 +15,15 @@
heading1
===
+not heading1
+===ha
+
21
heading2
22
--
23
24
+not heading2
25
+---ha
26
27
28
29
---
0 commit comments