1
0
Fork 0
mirror of synced 2024-12-23 07:20:42 -05:00
ultimate-vim/sources_non_forked/vim-markdown
2017-05-26 11:30:32 +02:00
..
ftdetect lets try again... 2012-08-16 23:41:25 -04:00
ftplugin Updated plugins 2017-05-02 14:42:08 +02:00
syntax Updated plugins and added vim-abolish 2017-05-26 11:30:32 +02:00
README.markdown Updated plugins 2017-05-02 14:42:08 +02:00

Vim Markdown runtime files

This is the development version of Vim's included syntax highlighting and filetype plugins for Markdown. Generally you don't need to install these if you are running a recent version of Vim.

One difference between this repository and the upstream files in Vim is that the former forces *.md as Markdown, while the latter detects it as Modula-2, with an exception for README.md. If you'd like to force Markdown without installing from this repository, add the following to your vimrc:

autocmd BufNewFile,BufReadPost *.md set filetype=markdown

If you want to enable fenced code block syntax highlighting in your markdown documents you can enable it in your .vimrc like so:

let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']

To disable markdown syntax concealing add the following to your vimrc:

let g:markdown_syntax_conceal = 0

Syntax highlight is synchronized in 50 lines. It may cause collapsed highlighting at large fenced code block. In the case, please set larger value in your vimrc:

let g:markdown_minlines = 100

Note that setting too large value may cause bad performance on highlighting.

License

Copyright © Tim Pope. Distributed under the same terms as Vim itself. See :help license.