mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.1.0234: filetype: support for Intel HEX files is lacking
Problem: filetype: support for Intel HEX files is lacking Solution: Add more file extensions that are typical for Intel HEX files (Wu, Zhenyu) Reference: https://en.wikipedia.org/wiki/Intel_HEX closes: #14355 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3cf121ed31
commit
e523dd9803
@@ -938,7 +938,7 @@ au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules
|
|||||||
au BufRead,BufNewFile *.heex setf heex
|
au BufRead,BufNewFile *.heex setf heex
|
||||||
|
|
||||||
" HEX (Intel)
|
" HEX (Intel)
|
||||||
au BufNewFile,BufRead *.hex,*.h32 setf hex
|
au BufNewFile,BufRead *.hex,*.ihex,*.int,*.ihe,*.ihx,*.mcs,*.h32,*.h80,*.h86,*.a43,*.a90 setf hex
|
||||||
|
|
||||||
" Hjson
|
" Hjson
|
||||||
au BufNewFile,BufRead *.hjson setf hjson
|
au BufNewFile,BufRead *.hjson setf hjson
|
||||||
|
@@ -312,7 +312,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
hcl: ['file.hcl'],
|
hcl: ['file.hcl'],
|
||||||
heex: ['file.heex'],
|
heex: ['file.heex'],
|
||||||
hercules: ['file.vc', 'file.ev', 'file.sum', 'file.errsum'],
|
hercules: ['file.vc', 'file.ev', 'file.sum', 'file.errsum'],
|
||||||
hex: ['file.hex', 'file.h32'],
|
hex: ['file.hex', 'file.ihex', 'file.ihe', 'file.ihx', 'file.int', 'file.mcs', 'file.h32', 'file.h80', 'file.h86', 'file.a43', 'file.a90'],
|
||||||
hgcommit: ['hg-editor-file.txt'],
|
hgcommit: ['hg-editor-file.txt'],
|
||||||
hjson: ['file.hjson'],
|
hjson: ['file.hjson'],
|
||||||
hlsplaylist: ['file.m3u', 'file.m3u8'],
|
hlsplaylist: ['file.m3u', 'file.m3u8'],
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
234,
|
||||||
/**/
|
/**/
|
||||||
233,
|
233,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user