mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.1.0919: filetype: some assembler files are not recognized
Problem: filetype: some assembler are files not recognized Solution: detect '*.nasm' files as nasm filetype and '*.masm' as masm filetype (Wu, Zhenyu) closes: #16194 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
5c42c77315
commit
d66d68763d
@@ -113,6 +113,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
arduino: ['file.ino', 'file.pde'],
|
||||
art: ['file.art'],
|
||||
asciidoc: ['file.asciidoc', 'file.adoc'],
|
||||
asm: ['file.s', 'file.S', 'file.a', 'file.A'],
|
||||
asn: ['file.asn', 'file.asn1'],
|
||||
asterisk: ['asterisk/file.conf', 'asterisk/file.conf-file', 'some-asterisk/file.conf', 'some-asterisk/file.conf-file'],
|
||||
astro: ['file.astro'],
|
||||
@@ -456,6 +457,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
map: ['file.map'],
|
||||
maple: ['file.mv', 'file.mpl', 'file.mws'],
|
||||
markdown: ['file.markdown', 'file.mdown', 'file.mkd', 'file.mkdn', 'file.mdwn', 'file.md'],
|
||||
masm: ['file.masm'],
|
||||
mason: ['file.mason', 'file.mhtml'],
|
||||
master: ['file.mas', 'file.master'],
|
||||
matlab: ['file.m'],
|
||||
@@ -532,6 +534,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
n1ql: ['file.n1ql', 'file.nql'],
|
||||
named: ['namedfile.conf', 'rndcfile.conf', 'named-file.conf', 'named.conf', 'rndc-file.conf', 'rndc-file.key', 'rndc.conf', 'rndc.key'],
|
||||
nanorc: ['/etc/nanorc', 'file.nanorc', 'any/etc/nanorc'],
|
||||
nasm: ['file.nasm'],
|
||||
natural: ['file.NSA', 'file.NSC', 'file.NSG', 'file.NSL', 'file.NSM', 'file.NSN', 'file.NSP', 'file.NSS'],
|
||||
ncf: ['file.ncf'],
|
||||
neomuttlog: ['/home/user/.neomuttdebug1'],
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
919,
|
||||
/**/
|
||||
918,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user