Also:
g:javaInParen
.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.
https://github.com/vim/vim/pull/15016
(53 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
As I have already mentioned it elsewhere, folded lines are
always treated as opened for a syntax test when calculating
the line offsets and determining what next batch of lines to
dump to a file; hence, the generated dump files for them
exceed the required number because more lines are repeated.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
thanks!
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Merged #15016 into master.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.