]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(java): Dismiss "g:markdown_fenced_languages" for Java buffers
authorAliaksei Budavei <0x000c70@gmail.com>
Sun, 31 Aug 2025 17:16:14 +0000 (19:16 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 31 Aug 2025 17:16:14 +0000 (19:16 +0200)
commit71149dfec502d7489cd7e46c721f891b486bdbf6
tree73483461e1616c84b427b2670aeea1444266a657
parent6f97624e115eb793e5b486244683ecb86959d859
runtime(java): Dismiss "g:markdown_fenced_languages" for Java buffers

No support is provided or planned for language recognition
in code snippets of documentation comments.  Requesting to
load arbitrary syntax plugins with the aid of the concerned
variable is therefore wasteful in general and erroneous when
paired languages ":syn-include" one another without taking
steps to manage circularity.

related: #17308
related: #17220
closes: #18172

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/java.vim
runtime/syntax/testdir/dumps/java_comments_html_00.dump
runtime/syntax/testdir/dumps/java_comments_markdown_00.dump
runtime/syntax/testdir/input/java_comments_html.java
runtime/syntax/testdir/input/java_comments_markdown.java