mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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>
17 lines
398 B
VimL
17 lines
398 B
VimL
" 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 <wuzhenyu@ustc.edu>
|
|
" 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+=.
|