Last active
March 24, 2017 20:54
-
-
Save feyderm/4b0e122b395158fe0aa8700a229c70df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim syntax file | |
" Language: Jira Text Formatting Notation | |
" Maintainer: Michael Feyder [email protected] | |
" Latest Revision: 14 July 2016 | |
if exists("b:current_syntax") | |
finish | |
endif | |
" highlights headers regardless of level | |
syn match header '^h[1-6]\..*' | |
" text emphasis | |
syn match bold '\*.*\*' | |
syn match italics '_.*_' | |
" highlights markdown notation by level | |
syn match level1 '^[\*#]' | |
syn match level2 '^[\*#]\{2}' | |
syn match level3 '^[\*#]\{3}' | |
syn match level4 '^[\*#]\{4}' | |
syn match level5 '^[\*#]\{5}' | |
let b:current_syntax = "jmd" | |
hi def link header Todo | |
hi def link bold Tag | |
hi def link italics Tag | |
hi def link level1 Include | |
hi def link level2 Conditional | |
hi def link level3 Underlined | |
hi def link level4 StorageClass | |
hi def link level5 String |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment