Skip to content

Commit f787ee8

Browse files
dkearnschrisbra
authored andcommitted
runtime(doc): Add g:c_syntax_for_h to filetype-overrule docs
closes: #13074 Signed-off-by: Christian Brabandt <[email protected]>
1 parent 213c323 commit f787ee8

1 file changed

Lines changed: 20 additions & 17 deletions

File tree

runtime/doc/filetype.txt

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33

44
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
138138
variables can be used to overrule the filetype used for certain extensions:
139139

140140
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|
145147
*.cfg g:filetype_cfg
146148
*.cls g:filetype_cls
147-
*.csh g:filetype_csh |ft-csh-syntax|
149+
*.csh g:filetype_csh |ft-csh-syntax|
148150
*.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|
153156
*.inc g:filetype_inc
154157
*.lsl g:filetype_lsl
155-
*.m g:filetype_m |ft-mathematica-syntax|
158+
*.m g:filetype_m |ft-mathematica-syntax|
156159
*.mod g:filetype_mod
157-
*.p g:filetype_p |ft-pascal-syntax|
160+
*.p g:filetype_p |ft-pascal-syntax|
158161
*.pl g:filetype_pl
159-
*.pp g:filetype_pp |ft-pascal-syntax|
162+
*.pp g:filetype_pp |ft-pascal-syntax|
160163
*.prg g:filetype_prg
161164
*.r g:filetype_r
162165
*.sig g:filetype_sig
163-
*.sql g:filetype_sql |ft-sql-syntax|
166+
*.sql g:filetype_sql |ft-sql-syntax|
164167
*.src g:filetype_src
165168
*.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|
168171
*.typ g:filetype_typ
169-
*.w g:filetype_w |ft-cweb-syntax|
172+
*.w g:filetype_w |ft-cweb-syntax|
170173

171174
For a few filetypes the global variable is used only when the filetype could
172175
not be detected:

0 commit comments

Comments
 (0)