mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	patch 9.0.1103: jq files are not recognized
Problem: jq files are not recognized. Solution: Add detection of Jq files. (David McDonald, closes #11743)
This commit is contained in:
		
				
					committed by
					
						 Bram Moolenaar
						Bram Moolenaar
					
				
			
			
				
	
			
			
			
						parent
						
							a7fbaa43b7
						
					
				
				
					commit
					b9a1edfc54
				
			| @@ -996,6 +996,9 @@ au BufNewFile,BufRead *.jgr			setf jgraph | |||||||
| " Jovial | " Jovial | ||||||
| au BufNewFile,BufRead *.jov,*.j73,*.jovial	setf jovial | au BufNewFile,BufRead *.jov,*.j73,*.jovial	setf jovial | ||||||
|  |  | ||||||
|  | " Jq | ||||||
|  | au BufNewFile,BufRead *.jq			setf jq | ||||||
|  |  | ||||||
| " JSON5 | " JSON5 | ||||||
| au BufNewFile,BufRead *.json5			setf json5 | au BufNewFile,BufRead *.json5			setf json5 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -286,6 +286,7 @@ let s:filename_checks = { | |||||||
|     \ 'javascriptreact': ['file.jsx'], |     \ 'javascriptreact': ['file.jsx'], | ||||||
|     \ 'jess': ['file.clp'], |     \ 'jess': ['file.clp'], | ||||||
|     \ 'jgraph': ['file.jgr'], |     \ 'jgraph': ['file.jgr'], | ||||||
|  |     \ 'jq': ['file.jq'], | ||||||
|     \ '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', 'org.eclipse.xyz.prefs'], |     \ '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', '.prettierrc', '.firebaserc', 'file.slnf'], |     \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', 'file.slnf'], | ||||||
|   | |||||||
| @@ -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 */ | ||||||
|  | /**/ | ||||||
|  |     1103, | ||||||
| /**/ | /**/ | ||||||
|     1102, |     1102, | ||||||
| /**/ | /**/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user