diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-25 19:03:26 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-25 21:39:46 +0100 |
commit | 31c4cb23473a6e3a19a7986fae25c5bfc03b4eda (patch) | |
tree | e39bfa17efdb7d873f5cf0e04a3e7732cfe0f18c /test/functional/lua/secure_spec.lua | |
parent | 934f38682afd5925df675485b96ac9a2d3b8dd57 (diff) | |
download | rneovim-31c4cb23473a6e3a19a7986fae25c5bfc03b4eda.tar.gz rneovim-31c4cb23473a6e3a19a7986fae25c5bfc03b4eda.tar.bz2 rneovim-31c4cb23473a6e3a19a7986fae25c5bfc03b4eda.zip |
vim-patch:8e59a7ba8877
runtime(java): Recognise the inline kind of the {@return} tag (vim/vim#14284)
Also:
- Refine comment matching (javaComment{Error\ and,Start}).
- Continue rewriting regexps (prefer atom grouping with
non-capturing parens; factor out common prefixes in
alternations).
- Allow for relative paths with the _file_ attribute of
{@snippet}.
- Anticipate HTML in the @see tags.
- Match the nullary method parens in javaDocSeeTagParam.
- Improve the boundary patterns for summary sentences of
documentation.
> This sentence ends at ... or at the first tag (as defined
> below).
There are Java documentation tags (@) and there are HTML
tags (<?>) (with Markdown looming large; see JEP 467). With
block tags, e.g. @param, @return, @see, we begin another
documentation "sentence" whether or not the author has
terminated the summary sentence with a period; with
.<!-- -->, we may follow abbreviations, enumerations,
initials, (but instead consider @literal or ) _within_
the summary sentence. On the other hand, inline tags, e.g.
@code, @link, @literal, should not terminate the summary
sentence.
References:
https://bugs.openjdk.org/browse/JDK-8075778
https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html#firstsentence
https://docs.oracle.com/en/java/javase/21/docs/specs/javadoc/doc-comment-spec.html
https://github.com/vim/vim/commit/8e59a7ba88776d5425bafc6eefd978de3312fcdf
Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Diffstat (limited to 'test/functional/lua/secure_spec.lua')
0 files changed, 0 insertions, 0 deletions