0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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>
This commit is contained in:
Aliaksei Budavei
2025-08-31 19:16:14 +02:00
committed by Christian Brabandt
parent 6f97624e11
commit 71149dfec5
5 changed files with 15 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
// VIM_TEST_SETUP let[g:java_ignore_html,g:markdown_syntax_conceal]=[1,1]
// VIM_TEST_SETUP let g:html_syntax_folding = 1
// VIM_TEST_SETUP let g:java_consent_to_html_syntax_folding = 1
// VIM_TEST_SETUP let g:markdown_fenced_languages = ["java"]
// VIM_TEST_SETUP defer execute('match Visual /\%>21l\s\+$/')