mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0109: filetype: no support for its files
Problem: filetype: no support for its files Solution: Add detection for *.its files as dts file type (Brandon Maier) The '*.its' file type is for U-Boot Flattened Image Trees (FIT) which use the flattened devicetree format. See https://github.com/u-boot/u-boot/blob/master/doc/usage/fit/source_file_format.rst#terminology closes: #14037 Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
1633de8c35
commit
cf1d65e060
@ -647,7 +647,7 @@ au BufNewFile,BufRead *.dsl
|
||||
au BufNewFile,BufRead *.dtd setf dtd
|
||||
|
||||
" DTS/DSTI/DTSO (device tree files)
|
||||
au BufNewFile,BufRead *.dts,*.dtsi,*.dtso setf dts
|
||||
au BufNewFile,BufRead *.dts,*.dtsi,*.dtso,*.its setf dts
|
||||
|
||||
" EDIF (*.edf,*.edif,*.edn,*.edo) or edn
|
||||
au BufNewFile,BufRead *.ed\(f\|if\|o\) setf edif
|
||||
|
@ -214,7 +214,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
dracula: ['file.drac', 'file.drc', 'filelvs', 'filelpe', 'drac.file', 'lpe', 'lvs', 'some-lpe', 'some-lvs'],
|
||||
dtd: ['file.dtd'],
|
||||
dtrace: ['/usr/lib/dtrace/io.d'],
|
||||
dts: ['file.dts', 'file.dtsi', 'file.dtso'],
|
||||
dts: ['file.dts', 'file.dtsi', 'file.dtso', 'file.its'],
|
||||
dune: ['jbuild', 'dune', 'dune-project', 'dune-workspace'],
|
||||
dylan: ['file.dylan'],
|
||||
dylanintr: ['file.intr'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
109,
|
||||
/**/
|
||||
108,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user