mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	Define "g:java_syntax_previews" and include number 476 in
its list to enable this recognition:
------------------------------------------------------------
        let g:java_syntax_previews = [476]
------------------------------------------------------------
Reference:
https://openjdk.org/jeps/476
closes: #15709
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			913 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			913 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| // This module declaration belongs to the sample project published at
 | |
| // https://github.com/zzzyxwvut/module-info.git .
 | |
| import module java.base;
 | |
| import java.util.ServiceLoader;
 | |
| 
 | |
| /**
 | |
|  * Defines demo related support.
 | |
|  *
 | |
|  * Note that the {@code Testable} service is not exported.
 | |
|  *
 | |
|  * @uses org.demo.internal.Testable
 | |
|  * @provides org.demo.internal.Testable
 | |
|  * @see ServiceLoader
 | |
|  */
 | |
| module org.module.info.demo	// JDK 23+ (--enable-preview --release 23).
 | |
| {
 | |
| 	requires static jdk.jfr;
 | |
| 	requires java.base;
 | |
| 	requires transitive java.logging;
 | |
| 	requires transitive static org.module.info.tester;
 | |
| 
 | |
| 	exports org.demo;
 | |
| 	exports org.demo.internal to
 | |
| 		org.module.info.demo;
 | |
| 
 | |
| 	opens org.demo.internal to
 | |
| 		org.module.info.demo;
 | |
| 	opens org.demo.tests to
 | |
| 		org.module.info.demo, org.module.info.tester;
 | |
| 
 | |
| 	uses org.demo.internal.Testable;
 | |
| 
 | |
| 	provides org.demo.internal.Testable with
 | |
| 		org.demo.tests.ArithmeticOperationTests;
 | |
| }
 |