0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.1.0795: filetype: Vivado memory info file are not recognized

Problem:  filetype: Vivado memory info file are not recognized
Solution: detect '*.mmi' memory info file as xml filetype
          (Wu, Zhenyu)

References: https://docs.amd.com/r/en-US/ug1580-updatemem/MMI-File-Syntax

closes: #15906

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-10-21 20:54:13 +02:00
committed by Christian Brabandt
parent 4f5681dbdf
commit 0887e62bce
3 changed files with 7 additions and 2 deletions

View File

@@ -2815,7 +2815,7 @@ au BufNewFile,BufRead xorg.conf,xorg.conf-4 let b:xf86conf_xfree86_version = 4 |
au BufNewFile,BufRead */etc/xinetd.conf setf xinetd
" Xilinx Vivado/Vitis project files and block design files
au BufNewFile,BufRead *.xpr,*.xpfm,*.spfm,*.bxml setf xml
au BufNewFile,BufRead *.xpr,*.xpfm,*.spfm,*.bxml,*.mmi setf xml
au BufNewFile,BufRead *.bd,*.bda,*.xci setf json
" XS Perl extension interface language