comparison runtime/filetype.vim @ 34359:0447bf3a88a5 v9.1.0110

patch 9.1.0110: filetype: add 'Config.in' filetype detection Commit: https://github.com/vim/vim/commit/5f20f050efed3431beaf85739f0113e9ef0abd8e Author: Brandon Maier <brandon.maier@collins.com> Date: Wed Feb 14 22:30:06 2024 +0100 patch 9.1.0110: filetype: add 'Config.in' filetype detection The 'Config.in' file type is for Buildroot configuration files. Buildroot Config.in files use the same Kconfig backend as the Linux kernel's Kconfig files. Buildroot also has other filename variants that follow "Config.in.*", they are used to distinguish multiple Config.in files in the same directory. See https://buildroot.org/downloads/manual/manual.html#_literal_config_in_literal_file closes: #14038 Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 14 Feb 2024 22:45:02 +0100
parents 0f62958d90dd
children 6b9eefad14d8
comparison
equal deleted inserted replaced
34358:ef3a25c3bde8 34359:0447bf3a88a5
1139 1139
1140 " KDE script 1140 " KDE script
1141 au BufNewFile,BufRead *.ks setf kscript 1141 au BufNewFile,BufRead *.ks setf kscript
1142 1142
1143 " Kconfig 1143 " Kconfig
1144 au BufNewFile,BufRead Kconfig,Kconfig.debug setf kconfig 1144 au BufNewFile,BufRead Kconfig,Kconfig.debug,Config.in setf kconfig
1145 1145
1146 " Lace (ISE) 1146 " Lace (ISE)
1147 au BufNewFile,BufRead *.ace,*.ACE setf lace 1147 au BufNewFile,BufRead *.ace,*.ACE setf lace
1148 1148
1149 " Larch Shared Language 1149 " Larch Shared Language
2778 2778
2779 " Java Properties resource file (note: doesn't catch font.properties.pl) 2779 " Java Properties resource file (note: doesn't catch font.properties.pl)
2780 au BufNewFile,BufRead *.properties_??_??_* call s:StarSetf('jproperties') 2780 au BufNewFile,BufRead *.properties_??_??_* call s:StarSetf('jproperties')
2781 2781
2782 " Kconfig 2782 " Kconfig
2783 au BufNewFile,BufRead Kconfig.* call s:StarSetf('kconfig') 2783 au BufNewFile,BufRead Kconfig.*,Config.in.* call s:StarSetf('kconfig')
2784 2784
2785 " Lilo: Linux loader 2785 " Lilo: Linux loader
2786 au BufNewFile,BufRead lilo.conf* call s:StarSetf('lilo') 2786 au BufNewFile,BufRead lilo.conf* call s:StarSetf('lilo')
2787 2787
2788 " Libsensors 2788 " Libsensors