runtime(java): Match annotation- and interface-type names of "java.lang"
Complement the documented support for the recognition of all
public types of the "java.lang" package (":help java.vim").
(The original syntax item generator may have, inadvertently,
contributed via suppressing "NullPointerException"s to not
having annotation and interface types qualify in general.)
Also, re-link usage instructions for the alternative syntax
item generator to a rolling "master"'s version.
closes: #17419
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
0aaf6f8bbb
commit
b577ad50d0
@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2025 May 31
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2025 Jun 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2068,7 +2068,7 @@ All (exported) public types declared in `java.lang` are always automatically
|
||||
imported and available as simple names. To highlight them, use: >
|
||||
:let g:java_highlight_java_lang_ids = 1
|
||||
You can also generate syntax items for other public and protected types and
|
||||
opt in to highlight some of their names see |java-package-info-url|.
|
||||
opt in to highlight some of their names; see |java-package-info-url|.
|
||||
|
||||
Headers of indented function declarations can be highlighted (along with parts
|
||||
of lambda expressions and method reference expressions), but it depends on how
|
||||
@ -2222,7 +2222,7 @@ Note that as soon as the particular preview feature will have been integrated
|
||||
into the Java platform, its entry will be removed from the table and related
|
||||
optionality will be discontinued.
|
||||
*java-package-info-url*
|
||||
https://github.com/zzzyxwvut/java-vim/blob/42cbd51/tools/javaid/src/javaid/package-info.java
|
||||
https://github.com/zzzyxwvut/java-vim/blob/master/tools/javaid/src/javaid/package-info.java
|
||||
|
||||
JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal*
|
||||
*g:vim_json_warnings*
|
||||
|
||||
Reference in New Issue
Block a user