mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-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: vim/vim#14355
e523dd9803
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
b8858dddbf
commit
c24dcb1bea
@ -504,7 +504,16 @@ local extension = {
|
||||
vc = 'hercules',
|
||||
heex = 'heex',
|
||||
hex = 'hex',
|
||||
['a43'] = 'hex',
|
||||
['a90'] = 'hex',
|
||||
['h32'] = 'hex',
|
||||
['h80'] = 'hex',
|
||||
['h86'] = 'hex',
|
||||
ihex = 'hex',
|
||||
ihe = 'hex',
|
||||
ihx = 'hex',
|
||||
int = 'hex',
|
||||
mcs = 'hex',
|
||||
hjson = 'hjson',
|
||||
m3u = 'hlsplaylist',
|
||||
m3u8 = 'hlsplaylist',
|
||||
|
@ -302,7 +302,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'hcl': ['file.hcl'],
|
||||
\ 'heex': ['file.heex'],
|
||||
\ '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'],
|
||||
\ 'hjson': ['file.hjson'],
|
||||
\ 'hlsplaylist': ['file.m3u', 'file.m3u8'],
|
||||
|
Loading…
Reference in New Issue
Block a user