neovim/runtime
Christian Clason 3a61f05dd2 vim-patch:8556e23: runtime(java): Provide support for syntax preview features
Introduce a new API variable "g:java_syntax_previews" whose
value must be a list of syntax preview feature numbers.

Enumerate the currently supported numbers in a table at the
end of the documentation entry for "ft-java-syntax".

Also, disable the recognition of String Templates.  Despite
the withdrawal of this preview feature in its proposed form
from the upcoming JDK 23 release and the fact that the JDK
22 release is coming to EOL this September, an earlier
iteration of this preview feature was included in JDK 21
(LTS) whose EOL is projected to fall due in late 2028 and,
therefore, retain the current implementation.

Define "g:java_syntax_previews" and include number 430 in
its list to enable the recognition of String Templates:
------------------------------------------------------------
	let g:java_syntax_previews = [430]
------------------------------------------------------------

References:
https://openjdk.org/jeps/430 (Preview)
https://openjdk.org/jeps/459 (Second Preview)
https://openjdk.org/jeps/465 (Third Preview)
https://mail.openjdk.org/pipermail/amber-spec-experts/2024-April/004106.html

closes: vim/vim#15579

8556e23ee9

Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
2024-08-28 11:22:23 +02:00
..
autoload vim-patch:c75dad0: runtime(netrw): Change line on mx if command output exists 2024-08-22 23:45:48 +02:00
colors vim-patch:6908db4: runtime(colors): update colorschemes 2024-08-17 13:03:13 +02:00
compiler vim-patch:5f5f283: runtime(pandoc): escape quotes in &errorformat for pandoc 2024-08-21 09:14:17 +02:00
doc vim-patch:8556e23: runtime(java): Provide support for syntax preview features 2024-08-28 11:22:23 +02:00
ftplugin vim-patch:dd36d6c: runtime(mediawiki): fix typo in doc, test for b:did_ftplugin var 2024-08-17 13:03:13 +02:00
indent vim-patch:c6ed816: runtime(yaml): do not re-indent when commenting out lines 2024-08-17 13:03:13 +02:00
keymap vim-patch:79a14c0: runtime(keymap): include Georgian keymap 2024-06-14 23:58:27 +02:00
lua feat(lsp): export diagnostic conversion functions (#30064) 2024-08-27 13:16:33 -05:00
macros
pack/dist/opt vim-patch:5753d99: runtime(nohlsearch): add missing loaded_hlsearch guard 2024-07-31 23:06:28 +02:00
plugin vim-patch:9.1.0694: matchparen is slow on a long line (#30134) 2024-08-25 06:07:43 +08:00
queries fix(runtime): sync bundled treesitter queries 2024-07-28 16:13:11 +02:00
spell
syntax vim-patch:8556e23: runtime(java): Provide support for syntax preview features 2024-08-28 11:22:23 +02:00
tools
tutor fix(tutor): incorrect lines marked as correct #29833 2024-08-16 10:35:13 -07:00
CMakeLists.txt
delmenu.vim
filetype.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim
neovim.ico
nvim.appdata.xml NVIM v0.10.0 2024-05-16 14:34:32 +02:00
nvim.desktop
nvim.png
optwin.vim vim-patch:9.1.0572: cannot specify tab page closing behaviour (#29682) 2024-07-13 08:56:58 +08:00
synmenu.vim
windows_icon.rc feat(win32): embed executable icon 2024-07-02 13:05:16 +02:00