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 63c934b commit 7553b05Copy full SHA for 7553b05
ftplugin/markdown.vim
@@ -341,7 +341,7 @@ function! s:DeleteExistingToc()
341
342
if search(l:tocEndPattern, l:flags) != 0
343
let l:markdownStyle = matchlist(l:beginLine, l:tocBeginPattern)[1]
344
- if l:markdownStyle != "GFM" && l:markdownStyle != "Redcarpet"
+ if l:markdownStyle != "GFM" && l:markdownStyle != "Redcarpet" && l:markdownStyle != "GitLab"
345
let l:markdownStyle = "Unknown"
346
else
347
let l:endLineNumber = line(".")
0 commit comments