mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	runtime(doc): Add g:c_syntax_for_h to filetype-overrule docs
closes: #13074 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
		
				
					committed by
					
						 Christian Brabandt
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							213c323184
						
					
				
				
					commit
					f787ee8451
				
			| @@ -1,4 +1,4 @@ | |||||||
| *filetype.txt*  For Vim version 9.0.  Last change: 2023 Sep 06 | *filetype.txt*  For Vim version 9.0.  Last change: 2023 Sep 11 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
| @@ -138,9 +138,11 @@ what kind of file it is.  This doesn't always work.  A number of global | |||||||
| variables can be used to overrule the filetype used for certain extensions: | variables can be used to overrule the filetype used for certain extensions: | ||||||
|  |  | ||||||
| 	file name	variable ~ | 	file name	variable ~ | ||||||
| 	*.asa		g:filetype_asa	|ft-aspvbs-syntax| |ft-aspperl-syntax| | 	*.asa		g:filetype_asa		|ft-aspperl-syntax| | ||||||
|  | 						|ft-aspvbs-syntax| | ||||||
| 	*.asm		g:asmsyntax		|ft-asm-syntax| | 	*.asm		g:asmsyntax		|ft-asm-syntax| | ||||||
| 	*.asp		g:filetype_asp	|ft-aspvbs-syntax| |ft-aspperl-syntax| | 	*.asp		g:filetype_asp		|ft-aspperl-syntax| | ||||||
|  | 						|ft-aspvbs-syntax| | ||||||
| 	*.bas		g:filetype_bas		|ft-basic-syntax| | 	*.bas		g:filetype_bas		|ft-basic-syntax| | ||||||
| 	*.cfg		g:filetype_cfg | 	*.cfg		g:filetype_cfg | ||||||
| 	*.cls		g:filetype_cls | 	*.cls		g:filetype_cls | ||||||
| @@ -149,6 +151,7 @@ variables can be used to overrule the filetype used for certain extensions: | |||||||
| 	*.f		g:filetype_f		|ft-forth-syntax| | 	*.f		g:filetype_f		|ft-forth-syntax| | ||||||
| 	*.frm		g:filetype_frm		|ft-form-syntax| | 	*.frm		g:filetype_frm		|ft-form-syntax| | ||||||
| 	*.fs		g:filetype_fs		|ft-forth-syntax| | 	*.fs		g:filetype_fs		|ft-forth-syntax| | ||||||
|  | 	*.h		g:c_syntax_for_h	|ft-c-syntax| | ||||||
| 	*.i		g:filetype_i		|ft-progress-syntax| | 	*.i		g:filetype_i		|ft-progress-syntax| | ||||||
| 	*.inc		g:filetype_inc | 	*.inc		g:filetype_inc | ||||||
| 	*.lsl		g:filetype_lsl | 	*.lsl		g:filetype_lsl | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user