Add GitHub check box to markdown syntax
This commit is contained in:
parent
d9374ba8ac
commit
20ca44e2ff
@ -26,13 +26,6 @@ function! MarkdownFold(lnum)
|
||||
return '='
|
||||
endfunction
|
||||
|
||||
hi link markdownCode Special
|
||||
hi link markdownCodeDelimiter PreProc
|
||||
hi link markdownHeadingDelimiter Statement
|
||||
hi link markdownLinkDelimiter PreProc
|
||||
hi link markdownLinkTextDelimiter PreProc
|
||||
hi link markdownUrl Include
|
||||
|
||||
" Max 80 chars wide.
|
||||
setlocal textwidth=80
|
||||
" Use tabwidth of 4 to be markdown complient.
|
||||
|
13
after/syntax/markdown.vim
Normal file
13
after/syntax/markdown.vim
Normal file
@ -0,0 +1,13 @@
|
||||
" Add match for GitHub style check boxes
|
||||
syn match markdownCheckboxDelimiter '[\[\]]' contained
|
||||
syn match markdownCheckboxTick 'x' contained
|
||||
syn match markdownCheckbox '\*\s\[\(x\|\s\)\]\s' contains=markdownCheckboxDelimiter,markdownCheckboxTick,markdownListMarker
|
||||
|
||||
hi link markdownCode Special
|
||||
hi link markdownCodeDelimiter PreProc
|
||||
hi link markdownHeadingDelimiter Statement
|
||||
hi link markdownLinkDelimiter PreProc
|
||||
hi link markdownLinkTextDelimiter PreProc
|
||||
hi link markdownUrl Include
|
||||
hi link markdownCheckboxTick Statement
|
||||
hi link markdownCheckboxDelimiter PreProc
|
Loading…
x
Reference in New Issue
Block a user