diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-04-04 23:48:43 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-04-05 09:07:07 +0200 |
commit | 4add77ddbfbbff0795ee9bcca42b8096a6265049 (patch) | |
tree | f70534e287c8b50efa630f02ad328a2bc51fcdd6 /src/nvim/api/vim.c | |
parent | 75b80516d5133202b1e6848ad0c6d640543b313c (diff) | |
download | rneovim-4add77ddbfbbff0795ee9bcca42b8096a6265049.tar.gz rneovim-4add77ddbfbbff0795ee9bcca42b8096a6265049.tar.bz2 rneovim-4add77ddbfbbff0795ee9bcca42b8096a6265049.zip |
vim-patch:5ccdcc482e29
runtime(java): Improve the matching of contextual keywords
- Recognise a _record_ contextual keyword.
- Recognise _non-sealed_, _sealed_, and _permits_ contextual
keywords.
- Admit _$_ to keyword characters.
- Group _abstract_, _final_, _default_, _(non-)sealed_
(apart from _(non-)sealed_, the incompossibility of these
modifiers calls for attention).
- Remove another _synchronized_ keyword redefinition.
I have also replaced a function with an expression. Before
patch 8.1.0515, it should have been declared :function! to
work with repeatable script sourcing; there is less to worry
about with an expression.
References:
https://openjdk.org/jeps/395 (Records)
https://openjdk.org/jeps/409 (Sealed Classes)
https://docs.oracle.com/javase/specs/jls/se21/html/jls-3.html#jls-3.8
closes: vim/vim#14403
https://github.com/vim/vim/commit/5ccdcc482e299609ae8852a75b22190e38b9b5df
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions