mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	patch 9.0.0952: Eclipse preference files are not recognized
Problem:    Eclipse preference files are not recognized.
Solution:   Add a pattern to use "jproperties" for Eclipse preference files.
            (closes #11618)
			
			
This commit is contained in:
		
				
					committed by
					
						 Bram Moolenaar
						Bram Moolenaar
					
				
			
			
				
	
			
			
			
						parent
						
							01105b37a1
						
					
				
				
					commit
					f3f198b634
				
			| @@ -981,6 +981,8 @@ au BufNewFile,BufRead *.jsp			setf jsp | |||||||
|  |  | ||||||
| " Java Properties resource file (note: doesn't catch font.properties.pl) | " Java Properties resource file (note: doesn't catch font.properties.pl) | ||||||
| au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_??	setf jproperties | au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_??	setf jproperties | ||||||
|  | " Eclipse preference files use Java Properties syntax | ||||||
|  | au BufNewFile,BufRead org.eclipse.*.prefs	setf jproperties | ||||||
|  |  | ||||||
| " Jess | " Jess | ||||||
| au BufNewFile,BufRead *.clp			setf jess | au BufNewFile,BufRead *.clp			setf jess | ||||||
|   | |||||||
| @@ -286,7 +286,7 @@ let s:filename_checks = { | |||||||
|     \ 'jess': ['file.clp'], |     \ 'jess': ['file.clp'], | ||||||
|     \ 'jgraph': ['file.jgr'], |     \ 'jgraph': ['file.jgr'], | ||||||
|     \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], |     \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], | ||||||
|     \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'], |     \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'], | ||||||
|     \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'], |     \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'], | ||||||
|     \ 'json5': ['file.json5'], |     \ 'json5': ['file.json5'], | ||||||
|     \ 'jsonc': ['file.jsonc'], |     \ 'jsonc': ['file.jsonc'], | ||||||
|   | |||||||
| @@ -695,6 +695,8 @@ static char *(features[]) = | |||||||
|  |  | ||||||
| static int included_patches[] = | static int included_patches[] = | ||||||
| {   /* Add new patch number below this line */ | {   /* Add new patch number below this line */ | ||||||
|  | /**/ | ||||||
|  |     952, | ||||||
| /**/ | /**/ | ||||||
|     951, |     951, | ||||||
| /**/ | /**/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user