X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a3f273839d1b45fe73b3bc48e1d7a8c6d1422187..23b0548626d0f24bba78a16fa57a0190fe6480e2:/README.md?ds=sidebyside diff --git a/README.md b/README.md index 60c58ec..a76854b 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,14 @@ It never increases its default size (half screen), it only shrinks. let g:vim_markdown_toc_autofit = 1 ``` +### Text emphasis restriction to single-lines + +By default text emphasis works across multiple lines until a closing token is found. However, it's possible to restrict text emphasis to a single line (ie, for it to be applied a closing token must be found on the same line). To do so: + +```vim +let g:vim_markdown_emphasis_multiline = 0 +``` + ### Syntax Concealing Concealing is set for some syntax. @@ -159,6 +167,8 @@ let g:vim_markdown_toml_frontmatter = 1 Highlight JSON front matter as used by [Hugo](https://gohugo.io/content/front-matter/). +JSON syntax highlight requires [vim-json](https://github.com/elzr/vim-json). + ```vim let g:vim_markdown_json_frontmatter = 1 ```