comparison runtime/doc/filetype.txt @ 27321:3649b5a6b1b6

Update runtime files Commit: https://github.com/vim/vim/commit/6f4754b9f7253d7e4ba527064a24aff1acdb1e8f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 23 12:07:04 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Jan 2022 13:15:05 +0100
parents eafb9fd4ec32
children 063952f68595
comparison
equal deleted inserted replaced
27320:6c9018237bfa 27321:3649b5a6b1b6
1 *filetype.txt* For Vim version 8.2. Last change: 2021 Dec 30 1 *filetype.txt* For Vim version 8.2. Last change: 2022 Jan 21
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
131 shell script: "#!/bin/csh". 131 shell script: "#!/bin/csh".
132 When filetype detection was off, it will be enabled first, like the "on" 132 When filetype detection was off, it will be enabled first, like the "on"
133 argument was used. 133 argument was used.
134 134
135 *filetype-overrule* 135 *filetype-overrule*
136 When the same extension is used for two filetypes, Vim tries to guess what 136 When the same extension is used for multiple filetypes, Vim tries to guess
137 kind of file it is. This doesn't always work. A number of global variables 137 what kind of file it is. This doesn't always work. A number of global
138 can be used to overrule the filetype used for certain extensions: 138 variables can be used to overrule the filetype used for certain extensions:
139 139
140 file name variable ~ 140 file name variable ~
141 *.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax| 141 *.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax|
142 *.asm g:asmsyntax |ft-asm-syntax| 142 *.asm g:asmsyntax |ft-asm-syntax|
143 *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| 143 *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax|
144 *.bas g:filetype_bas |ft-basic-syntax|
144 *.fs g:filetype_fs |ft-forth-syntax| 145 *.fs g:filetype_fs |ft-forth-syntax|
145 *.i g:filetype_i |ft-progress-syntax| 146 *.i g:filetype_i |ft-progress-syntax|
146 *.inc g:filetype_inc 147 *.inc g:filetype_inc
147 *.m g:filetype_m |ft-mathematica-syntax| 148 *.m g:filetype_m |ft-mathematica-syntax|
148 *.p g:filetype_p |ft-pascal-syntax| 149 *.p g:filetype_p |ft-pascal-syntax|