aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/mss.vim
blob: de2f8791ec22a875a63832caa82c5f84fe24af7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" 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"