diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-25 10:10:57 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-25 14:18:52 +0100 |
commit | 31a15fb2a1878ae8acd3f9140cf40a0b09235071 (patch) | |
tree | ae6c85201ae02ceb9f7d606160ac1efd257f7cd5 /runtime/lua/vim/lsp/client.lua | |
parent | 829080d8c3dcc943b3c8d70e3732f8efec9ae69b (diff) | |
download | rneovim-31a15fb2a1878ae8acd3f9140cf40a0b09235071.tar.gz rneovim-31a15fb2a1878ae8acd3f9140cf40a0b09235071.tar.bz2 rneovim-31a15fb2a1878ae8acd3f9140cf40a0b09235071.zip |
vim-patch:3e72bf10a0a2
runtime(java): Recognise the {@snippet} documentation tag (vim/vim#14271)
Remember that ‘code fragments are typically Java source
code, but they may also be fragments of properties files,
source code in other languages, or plain text.’ Therefore,
with these changes, markup tags are highlighted in the Java
source files (as external snippets) and in the {@snippet}
tags.
Also:
- Improve matching of the multi-line {@code} documentation
tag with any contained balanced braces.
- Recognise the {@literal} documentation tag.
- Highlight stray blanks in comments.
Related to an enhancement proposal for PCRE-like callouts
discussed at https://github.com/vim/vim/issues/11217.
References:
https://openjdk.org/jeps/413
https://docs.oracle.com/en/java/javase/21/docs/specs/javadoc/doc-comment-spec.html
https://github.com/vim/vim/commit/3e72bf10a0a2fc34f01ff9663ed3324c2a140228
Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/lsp/client.lua')
0 files changed, 0 insertions, 0 deletions