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 9068655 commit 3a96439Copy full SHA for 3a96439
ftplugin/markdown.vim
@@ -856,7 +856,11 @@ endfunction
856
857
858
function! s:MarkdownRefreshSyntax(force)
859
- if &filetype =~# 'markdown' && line('$') > 1
+ " Use != to compare &syntax's value to use the same logic run on
860
+ " $VIMRUNTIME/syntax/synload.vim.
861
+ "
862
+ " vint: next-line -ProhibitEqualTildeOperator
863
+ if &filetype =~# 'markdown' && line('$') > 1 && &syntax != 'OFF'
864
call s:MarkdownHighlightSources(a:force)
865
endif
866
endfunction
0 commit comments