1
0
forked from aniani/vim

runtime(java): Define javaBlockStart and javaBlockOtherStart hl groups

And do not link either to any group.

Resolves zzzyxwvut/java-vim#2.

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Aliaksei Budavei
2024-10-12 17:12:51 +02:00
committed by Christian Brabandt
parent 1961cafc99
commit 05d0893ed8
15 changed files with 213 additions and 120 deletions

View File

@@ -1,5 +1,8 @@
// VIM_TEST_SETUP setlocal nofoldenable
// VIM_TEST_SETUP let g:java_mark_braces_in_parens_as_errors = 1
// VIM_TEST_SETUP highlight link javaBlockOtherStart Structure
// VIM_TEST_SETUP highlight link javaBlockStart Todo
@SuppressWarnings({
"""
@@ -10,6 +13,9 @@
/**
*
*/
///
///
///
//
//
//
@@ -78,6 +84,21 @@ out: {
/** No operation. */
void noOp4() {
/*/\/\/\*/ ; }
/// No operation.
///
///
void noOp5() { }
/// No operation.
void noOp6()
{
}
/// No operation.
void noOp7() {
}
/// No operation.
void noOp8() {
/*/\/\/\*/ ; }
}
/*
@@ -90,6 +111,9 @@ out: {
* {
* }
*/
/// A summary.
/// {
/// }
//
// {
// }