vim-patch:9.1.0972: filetype: TI linker map files are not recognized

Problem:  filetype: TI linker map files are not recognized
Solution: detect TI linker map files as lnkmap filetype
          (Wu, Zhenyu)

References:
https://downloads.ti.com/docs/esd/SPRUI03A/Content/SPRUI03A_HTML/linker_description.html

closes: vim/vim#16324

5113831d16

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-12-29 15:33:40 +01:00
committed by Christian Clason
parent 493b6899ee
commit 0e880b5612
4 changed files with 70 additions and 2 deletions

View File

@@ -736,7 +736,7 @@ local extension = {
mk = detect.make,
mak = detect.make,
page = 'mallard',
map = 'map',
map = detect_line1('^%*+$', 'lnkmap', 'map'),
mws = 'maple',
mpl = 'maple',
mv = 'maple',