Created
January 25, 2016 06:36
-
-
Save sgur/1d46c55629e2565954c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
augroup ft_markdown_syntax | |
autocmd! | |
autocmd FileType markdown | |
\ let g:markdown_fenced_languages = uniq(sort(map(filter(getline(1, '$'), 'v:val =~# "^```\\k"'), 'matchstr(v:val, "^```\\zs\\k\\+$")'))) | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment