Mercurial > vim
diff runtime/syntax/testdir/input/setup/markdown_conceal.vim @ 34586:385f41acf860
runtime(syntax-tests): Retrofit input/c.c. with TEST_SETUP
Commit: https://github.com/vim/vim/commit/a9bc195d6497a18b24428a0271a2839213444baf
Author: Aliaksei Budavei <0x000c70@gmail.com>
Date: Fri Mar 15 23:22:02 2024 +0300
runtime(syntax-tests): Retrofit input/c.c. with TEST_SETUP
Also:
- Include a syntax test for Markdown that takes advantage of
a sourceable setup configuration.
- Update Filelist
closes: #14215
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 18 Mar 2024 19:45:04 +0100 |
parents | |
children |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/runtime/syntax/testdir/input/setup/markdown_conceal.vim @@ -0,0 +1,8 @@ +if has('conceal') + let g:markdown_syntax_conceal = 1 + setlocal conceallevel=3 concealcursor=n +endif + +let g:markdown_fenced_languages = ['html'] +highlight link markdownBold Todo +highlight link htmlBold Todo