From 0e880b5612b0dece2863c70ee608971726ec5f2c Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 29 Dec 2024 15:33:40 +0100 Subject: 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 --- runtime/ftplugin/lnkmap.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 runtime/ftplugin/lnkmap.vim (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/lnkmap.vim b/runtime/ftplugin/lnkmap.vim new file mode 100644 index 0000000000..46fb070e71 --- /dev/null +++ b/runtime/ftplugin/lnkmap.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin file +" Language: TI Linker map +" Document: https://downloads.ti.com/docs/esd/SPRUI03A/Content/SPRUI03A_HTML/linker_description.html +" Maintainer: Wu, Zhenyu +" Last Change: 2024 Dec 25 + +if exists("b:did_ftplugin") + finish +endif + +" Don't load another plugin for this buffer +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl iskeyword<" + +setl iskeyword+=. -- cgit