mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
In addition to matching type parameter sections of generic classes and records and interfaces, match such sections of generic methods and constructors. As before, opt for it by defining "g:java_highlight_generics"; the diamond form still does not qualify for this kind of recognition. And make section patterns agree with one another in syntax items. References: https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.5 https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.4 https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.8.4 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
3 lines
75 B
VimL
3 lines
75 B
VimL
" Replace known non-Latin-1 characters.
|
||
%s+[ƒɐɘʬʭΑ-Ωα-ω<EFBFBD>]+?+Ige
|