forked from aniani/vim
runtime(java): Consent to HTML tags folding in Javadoc comments
HTML tags in Javadoc comments can additionally be folded after applying ------------------------------------------------------------ let g:html_syntax_folding = 1 set foldmethod=syntax ------------------------------------------------------------ and giving explicit consent with ------------------------------------------------------------ let g:java_consent_to_html_syntax_folding = 1 ------------------------------------------------------------ Do not default to this kind of folding unless ALL start tags and optional end tags are balanced in Javadoc comments; otherwise, put up with creating runaway folds that break syntax highlighting. resolves: zzzyxwvut/java-vim#8. closes: #17216 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
e3302cf2b1
commit
910bfd5d38
@@ -1,8 +1,8 @@
|
||||
// VIM_TEST_SETUP unlet! g:java_no_tab_space_error g:java_ignore_javadoc
|
||||
// VIM_TEST_SETUP unlet! g:java_no_trail_space_error
|
||||
// VIM_TEST_SETUP let [g:java_space_errors,g:java_comment_strings]=[1,1]
|
||||
// VIM_TEST_SETUP let g:java_ignore_markdown = 1
|
||||
|
||||
// VIM_TEST_SETUP unlet! g:java_consent_to_html_syntax_folding
|
||||
// VIM_TEST_SETUP let[g:java_space_errors,g:java_comment_strings]=[1,1]
|
||||
// VIM_TEST_SETUP let[g:java_ignore_markdown,g:html_syntax_folding]=[1,1]
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user