Aliaksei Budavei
371bab0594
runtime(java): Fold multi-line comments with the syntax kind of &fdm ( #15016 )
...
Also:
- Restore the capability to mark as an error braces nested
in parens with g:javaInParen.
- Try not to fold top-level-type bodies. (Defining multiple
package-private top level types in a single source file is
not recommended as it can impose order among compilation
units; so it is assumed that only one such top level type
is usually defined.)
- Compose ‘method header’ highlighting and block braces
folding.
- Do not highlight block braces whenever ‘method header’
highlighting is requested.
This bundling of ‘method headers’ and block braces for
highlighting can be traced back to Vim v5.0; however, no
comment or documentation entry conveys any justification.
For example, it is hard to discover the connection between
block braces for "while", "if", etc., statements and method
body block braces. The former behaviour can be attained in,
e.g. ~/.vim/after/syntax/java.vim:
------------------------------------------------------------
if exists("g:java_highlight_functions")
syn clear javaBlock javaInParen
syn match javaBlockOther "[{}]"
syn region javaBlock transparent matchgroup=javaBlockStart
\ start="\%(^\|^\S[^:]\+\)\@120<!{" end="}" fold
hi def link javaBlockStart javaFuncDef
hi def link javaBlockOther javaBlockStart
if exists("g:java_mark_braces_in_parens_as_errors")
syn match javaInParen contained "[{}]"
endif
endif
------------------------------------------------------------
Note: Read ‘a method header omitting a _throws_ clause’ for
every ‘method header’ appellation used above.
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-16 08:42:55 +02:00
..
2024-03-18 22:07:22 +01:00
2024-03-18 19:32:48 +01:00
2024-03-18 19:32:48 +01:00
2024-03-18 19:32:48 +01:00
2024-03-18 19:32:48 +01:00
2024-03-18 19:32:48 +01:00
2024-03-18 19:32:48 +01:00
2024-03-18 19:32:48 +01:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-14 21:18:33 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-03-25 16:18:28 +01:00
2024-03-25 16:18:28 +01:00
2024-03-25 16:18:28 +01:00
2024-03-25 16:18:28 +01:00
2024-03-25 16:18:28 +01:00
2024-03-25 16:18:28 +01:00
2024-04-04 21:51:18 +02:00
2024-04-04 21:51:18 +02:00
2024-04-04 21:51:18 +02:00
2024-04-04 21:51:18 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-03-03 15:51:01 +01:00
2024-03-03 15:51:01 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-06-16 08:42:55 +02:00
2024-06-09 18:39:52 +02:00
2024-06-09 18:39:52 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-06-16 08:42:55 +02:00
2024-05-13 21:06:05 +02:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-01 23:11:14 +01:00
2024-03-09 18:03:11 +01:00
2024-03-09 18:03:11 +01:00
2024-03-09 18:03:11 +01:00
2024-03-09 18:03:11 +01:00
2024-03-09 18:03:11 +01:00
2024-03-09 18:03:11 +01:00
2024-03-09 18:03:11 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-02-28 21:33:45 +01:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-06-16 08:42:55 +02:00
2024-03-18 22:07:22 +01:00
2024-03-18 22:07:22 +01:00
2024-02-28 21:24:25 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-02-28 21:24:25 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-02-28 21:24:25 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2024-01-05 17:59:04 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 01:35:51 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2023-07-09 02:38:28 +01:00
2023-07-09 02:38:28 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2023-06-24 00:56:50 +01:00
2024-01-22 20:19:54 +01:00
2024-01-22 20:19:54 +01:00
2024-01-22 20:19:54 +01:00
2024-01-22 20:19:54 +01:00
2024-03-04 19:14:08 +01:00
2024-03-04 19:14:08 +01:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-04-10 22:18:37 +02:00
2024-04-10 22:18:37 +02:00
2024-05-13 21:06:05 +02:00
2024-04-10 22:18:37 +02:00
2024-05-13 21:06:05 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-15 15:06:17 +02:00
2024-06-15 15:06:17 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-02-28 21:24:25 +01:00
2024-03-28 10:06:03 +01:00
2024-03-28 10:06:03 +01:00
2024-03-03 16:42:47 +01:00
2024-03-03 16:42:47 +01:00
2024-02-28 21:24:25 +01:00
2024-02-28 21:24:25 +01:00
2024-06-13 17:48:10 +02:00
2024-06-13 17:48:10 +02:00
2024-03-03 19:02:47 +01:00
2024-03-03 19:02:47 +01:00
2024-02-28 21:24:25 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-02-26 21:10:18 +01:00
2024-01-23 20:34:28 +01:00
2024-02-26 21:10:18 +01:00
2024-02-26 21:10:18 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-04-10 22:18:37 +02:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-02-26 21:10:18 +01:00
2024-01-23 20:34:28 +01:00
2024-02-26 21:10:18 +01:00
2024-02-26 21:10:18 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-04-10 22:18:37 +02:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-01-23 20:34:28 +01:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-03-21 20:41:10 +01:00
2024-04-09 21:19:41 +02:00
2024-04-09 21:19:41 +02:00
2024-04-09 21:19:41 +02:00
2024-04-09 21:19:41 +02:00
2024-04-09 21:19:41 +02:00
2024-04-09 21:19:41 +02:00
2024-03-21 20:41:10 +01:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-03-15 12:45:48 +00:00
2024-03-15 12:45:48 +00:00
2024-03-15 18:53:53 +01:00
2024-03-15 12:45:48 +00:00
2024-03-15 12:45:48 +00:00
2024-03-15 12:45:48 +00:00
2024-03-15 12:45:48 +00:00
2024-03-21 20:41:10 +01:00
2024-03-21 20:41:10 +01:00
2024-03-21 20:41:10 +01:00
2024-03-21 20:41:10 +01:00
2024-03-21 20:41:10 +01:00
2024-03-21 20:41:10 +01:00
2024-03-21 20:41:10 +01:00
2024-06-11 19:27:53 +02:00
2024-03-21 20:41:10 +01:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-03-21 20:41:10 +01:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-04-14 20:32:56 +02:00
2024-03-18 19:19:51 +01:00
2024-03-18 19:19:51 +01:00
2024-03-18 19:19:51 +01:00
2024-03-18 19:19:51 +01:00
2024-02-28 21:24:25 +01:00
2024-03-09 18:01:22 +01:00
2024-03-09 18:01:22 +01:00
2024-03-09 18:01:22 +01:00
2024-03-09 18:01:22 +01:00
2024-03-09 18:01:22 +01:00
2024-03-09 17:43:28 +01:00
2024-03-19 18:04:42 +01:00
2024-03-19 18:04:42 +01:00
2024-03-19 18:04:42 +01:00
2024-03-19 18:04:42 +01:00
2024-03-19 18:04:42 +01:00
2024-03-09 17:43:28 +01:00
2024-03-09 17:43:28 +01:00
2024-03-09 17:43:28 +01:00
2024-03-09 17:43:28 +01:00
2024-06-12 20:44:10 +02:00
2024-06-12 20:44:10 +02:00
2024-06-14 20:16:35 +02:00
2024-06-14 20:16:35 +02:00
2024-02-28 21:24:25 +01:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-06-05 19:47:04 +02:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-03-04 19:15:42 +01:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-06-13 17:48:10 +02:00
2024-06-13 17:48:10 +02:00
2024-02-28 21:24:25 +01:00
2024-03-11 21:40:58 +01:00
2024-03-28 10:06:03 +01:00
2024-03-28 10:06:03 +01:00
2024-03-28 10:06:03 +01:00
2024-02-28 21:24:25 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-01 21:44:26 +01:00
2024-02-28 21:24:25 +01:00
2024-04-10 22:18:37 +02:00
2024-04-10 22:18:37 +02:00
2024-05-13 21:06:05 +02:00
2024-03-15 12:45:48 +00:00
2024-03-15 12:45:48 +00:00
2024-06-11 19:27:53 +02:00
2024-06-11 19:27:53 +02:00
2024-02-28 21:24:25 +01:00
2024-02-28 21:24:25 +01:00
2024-03-31 18:26:32 +02:00
2024-03-31 18:26:32 +02:00
2024-03-31 18:26:32 +02:00
2024-03-31 18:26:32 +02:00
2024-06-15 15:06:17 +02:00
2024-06-15 15:06:17 +02:00
2024-02-28 21:24:25 +01:00
2024-02-01 21:44:26 +01:00
2023-12-10 15:53:24 +01:00
2024-01-04 22:58:48 +01:00
2023-12-10 15:53:24 +01:00
2024-01-04 22:58:48 +01:00
2023-12-10 15:53:24 +01:00
2023-12-12 16:47:43 +01:00
2023-12-12 16:47:43 +01:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00
2024-04-01 14:55:46 +02:00