diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-30 06:29:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 06:29:10 +0800 |
| commit | 0ab0cdb2dabc551f836851aa85d06e927c42d92a (patch) | |
| tree | f4b83d48dcfa6ccc621648296d230a4be2a00bd2 /runtime/lua/vim/shared.lua | |
| parent | 99e754ae02890d50de13b7bdf3262cfaebe1705c (diff) | |
vim-patch:910bfd5: runtime(java): Consent to HTML tags folding in Javadoc comments (#33718)
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: vim/vim#17216
https://github.com/vim/vim/commit/910bfd5d38812079bf31cc91eb6978415f29b725
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions
