vim-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: vim/vim#16194

d66d68763d

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-12-12 22:16:05 +01:00
committed by Christian Clason
parent 17383870dd
commit 2e73ba102a
3 changed files with 10 additions and 2 deletions

View File

@@ -743,6 +743,7 @@ local extension = {
mkd = detect.markdown,
markdown = detect.markdown,
mdown = detect.markdown,
masm = 'masm',
mhtml = 'mason',
mason = 'mason',
master = 'master',
@@ -805,6 +806,7 @@ local extension = {
n1ql = 'n1ql',
nql = 'n1ql',
nanorc = 'nanorc',
nasm = 'nasm',
NSA = 'natural',
NSC = 'natural',
NSG = 'natural',