mirror of
https://github.com/vim/vim
synced 2025-03-15 06:17:51 +01:00
Problem: filetype: Vivado files are not recognized Solution: detect '*.mss' files as 'mss' filetype (Wu, Zhenyu) references: https://docs.amd.com/r/2020.2-English/ug1400-vitis-embedded/Microprocessor-Software-Specification-MSS closes: #15907 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
16 lines
467 B
VimL
16 lines
467 B
VimL
" Vim filetype plugin file
|
|
" Language: Vivado mss file
|
|
" Last Change: 2024 Oct 22
|
|
" Document: https://docs.amd.com/r/2020.2-English/ug1400-vitis-embedded/Microprocessor-Software-Specification-MSS
|
|
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal comments=b:#,fb:-
|
|
setlocal commentstring=#\ %s
|
|
|
|
let b:match_words = '\<BEGIN\>:\<END\>'
|
|
let b:undo_ftplugin = "setl com< cms< | unlet b:match_words"
|