|
1 | | -*filetype.txt* For Vim version 9.0. Last change: 2023 Sep 06 |
| 1 | +*filetype.txt* For Vim version 9.0. Last change: 2023 Sep 11 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -138,35 +138,38 @@ what kind of file it is. This doesn't always work. A number of global |
138 | 138 | variables can be used to overrule the filetype used for certain extensions: |
139 | 139 |
|
140 | 140 | file name variable ~ |
141 | | - *.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax| |
142 | | - *.asm g:asmsyntax |ft-asm-syntax| |
143 | | - *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| |
144 | | - *.bas g:filetype_bas |ft-basic-syntax| |
| 141 | + *.asa g:filetype_asa |ft-aspperl-syntax| |
| 142 | + |ft-aspvbs-syntax| |
| 143 | + *.asm g:asmsyntax |ft-asm-syntax| |
| 144 | + *.asp g:filetype_asp |ft-aspperl-syntax| |
| 145 | + |ft-aspvbs-syntax| |
| 146 | + *.bas g:filetype_bas |ft-basic-syntax| |
145 | 147 | *.cfg g:filetype_cfg |
146 | 148 | *.cls g:filetype_cls |
147 | | - *.csh g:filetype_csh |ft-csh-syntax| |
| 149 | + *.csh g:filetype_csh |ft-csh-syntax| |
148 | 150 | *.dat g:filetype_dat |
149 | | - *.f g:filetype_f |ft-forth-syntax| |
150 | | - *.frm g:filetype_frm |ft-form-syntax| |
151 | | - *.fs g:filetype_fs |ft-forth-syntax| |
152 | | - *.i g:filetype_i |ft-progress-syntax| |
| 151 | + *.f g:filetype_f |ft-forth-syntax| |
| 152 | + *.frm g:filetype_frm |ft-form-syntax| |
| 153 | + *.fs g:filetype_fs |ft-forth-syntax| |
| 154 | + *.h g:c_syntax_for_h |ft-c-syntax| |
| 155 | + *.i g:filetype_i |ft-progress-syntax| |
153 | 156 | *.inc g:filetype_inc |
154 | 157 | *.lsl g:filetype_lsl |
155 | | - *.m g:filetype_m |ft-mathematica-syntax| |
| 158 | + *.m g:filetype_m |ft-mathematica-syntax| |
156 | 159 | *.mod g:filetype_mod |
157 | | - *.p g:filetype_p |ft-pascal-syntax| |
| 160 | + *.p g:filetype_p |ft-pascal-syntax| |
158 | 161 | *.pl g:filetype_pl |
159 | | - *.pp g:filetype_pp |ft-pascal-syntax| |
| 162 | + *.pp g:filetype_pp |ft-pascal-syntax| |
160 | 163 | *.prg g:filetype_prg |
161 | 164 | *.r g:filetype_r |
162 | 165 | *.sig g:filetype_sig |
163 | | - *.sql g:filetype_sql |ft-sql-syntax| |
| 166 | + *.sql g:filetype_sql |ft-sql-syntax| |
164 | 167 | *.src g:filetype_src |
165 | 168 | *.sys g:filetype_sys |
166 | | - *.sh g:bash_is_sh |ft-sh-syntax| |
167 | | - *.tex g:tex_flavor |ft-tex-plugin| |
| 169 | + *.sh g:bash_is_sh |ft-sh-syntax| |
| 170 | + *.tex g:tex_flavor |ft-tex-plugin| |
168 | 171 | *.typ g:filetype_typ |
169 | | - *.w g:filetype_w |ft-cweb-syntax| |
| 172 | + *.w g:filetype_w |ft-cweb-syntax| |
170 | 173 |
|
171 | 174 | For a few filetypes the global variable is used only when the filetype could |
172 | 175 | not be detected: |
|
0 commit comments