Skip to content

Commit bde5df7

Browse files
committed
Remove style check in subfunction
1 parent 9f256fd commit bde5df7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftplugin/markdown.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ endfunction
322322
function! s:GetMarkdownStyleInModeline()
323323
let l:myFileType = &filetype
324324
let l:lst = split(l:myFileType, "\\.")
325-
if len(l:lst) == 2 && l:lst[1] ==# "markdown" && index(s:supportMarkdownStyles, l:lst[0]) != -1
325+
if len(l:lst) == 2 && l:lst[1] ==# "markdown"
326326
return l:lst[0]
327327
else
328-
return ""
328+
return "Unknown"
329329
endif
330330
endfunction
331331

0 commit comments

Comments
 (0)