mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
runtime(java): Remove the group exclusion list from @javaTop
Instances of anonymous classes can be passed as method arguments and should be subject to line folding as well. closes: #15048 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
c98bfb9f59
commit
94c5d8a5e2
@@ -1,5 +1,5 @@
|
||||
// VIM_TEST_SETUP setlocal foldenable foldcolumn=2 foldmethod=syntax
|
||||
// VIM_TEST_SETUP let g:java_mark_braces_in_parens_as_errors = 1
|
||||
|
||||
|
||||
@SuppressWarnings({
|
||||
"""
|
||||
@@ -51,6 +51,18 @@ out: {
|
||||
} while (false);
|
||||
}
|
||||
}
|
||||
/*\\\*/ {
|
||||
(new java.util.function.Function<Object, Object>() {
|
||||
/**
|
||||
* {@inheritDoc} */
|
||||
public Object apply(Object o) { return o; };
|
||||
}).apply(
|
||||
(new java.util.function.Function<Object, Object>() {
|
||||
/** {@inheritDoc}
|
||||
*/
|
||||
public Object apply(Object o) { return o; };
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* No operation.
|
||||
|
Reference in New Issue
Block a user