aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-12-29 15:33:40 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-12-29 16:15:00 +0100
commit0e880b5612b0dece2863c70ee608971726ec5f2c (patch)
treef303925cfc09dddafc1a02f030fe504309b03f2b /runtime/lua
parent493b6899ee898ec43217a8ae270b24bcc3b47281 (diff)
downloadrneovim-0e880b5612b0dece2863c70ee608971726ec5f2c.tar.gz
rneovim-0e880b5612b0dece2863c70ee608971726ec5f2c.tar.bz2
rneovim-0e880b5612b0dece2863c70ee608971726ec5f2c.zip
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 https://github.com/vim/vim/commit/5113831d16c05f3a8b47da0c6f95a641d5fc7b2e Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index f267e5ef6f..ef77a560d8 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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',