mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0108: filetype: no support for dtso files
Problem: filetype: no support for dtso files Solution: Add detection for *.dtso files as dts file type (Markus Schneider-Pargmann) *.dtso files are devicetree overlay files which have the same syntax as dts or dtsi files. closes: #14026 Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
49f2ba6d41
commit
b1700fb33f
@ -646,8 +646,8 @@ au BufNewFile,BufRead *.dsl
|
|||||||
" DTD (Document Type Definition for XML)
|
" DTD (Document Type Definition for XML)
|
||||||
au BufNewFile,BufRead *.dtd setf dtd
|
au BufNewFile,BufRead *.dtd setf dtd
|
||||||
|
|
||||||
" DTS/DSTI (device tree files)
|
" DTS/DSTI/DTSO (device tree files)
|
||||||
au BufNewFile,BufRead *.dts,*.dtsi setf dts
|
au BufNewFile,BufRead *.dts,*.dtsi,*.dtso setf dts
|
||||||
|
|
||||||
" EDIF (*.edf,*.edif,*.edn,*.edo) or edn
|
" EDIF (*.edf,*.edif,*.edn,*.edo) or edn
|
||||||
au BufNewFile,BufRead *.ed\(f\|if\|o\) setf edif
|
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'],
|
dracula: ['file.drac', 'file.drc', 'filelvs', 'filelpe', 'drac.file', 'lpe', 'lvs', 'some-lpe', 'some-lvs'],
|
||||||
dtd: ['file.dtd'],
|
dtd: ['file.dtd'],
|
||||||
dtrace: ['/usr/lib/dtrace/io.d'],
|
dtrace: ['/usr/lib/dtrace/io.d'],
|
||||||
dts: ['file.dts', 'file.dtsi'],
|
dts: ['file.dts', 'file.dtsi', 'file.dtso'],
|
||||||
dune: ['jbuild', 'dune', 'dune-project', 'dune-workspace'],
|
dune: ['jbuild', 'dune', 'dune-project', 'dune-workspace'],
|
||||||
dylan: ['file.dylan'],
|
dylan: ['file.dylan'],
|
||||||
dylanintr: ['file.intr'],
|
dylanintr: ['file.intr'],
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
108,
|
||||||
/**/
|
/**/
|
||||||
107,
|
107,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user