blob: de95d1d2adda54b9d3eab421d2187ae31c6165d3 [file] [log] [blame]
Wu, Zhenyua87462a2024-11-18 21:36:31 +01001" Vim syntax file
2" Language: Vivado mss file
3" Maintainer: The Vim Project <https://github.com/vim/vim>
4" Last Change: 2024 Oct 22
5" Document: https://docs.amd.com/r/2020.2-English/ug1400-vitis-embedded/Microprocessor-Software-Specification-MSS
6" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
7
8if exists("b:current_syntax")
9 finish
10endif
11
12syn case ignore
13syn match mssComment "#.*$" contains=@Spell
14syn keyword mssKeyword BEGIN END PARAMETER
15syn keyword mssType OS PROCESSOR DRIVER LIBRARY
16syn keyword mssConstant VERSION PROC_INSTANCE HW_INSTANCE OS_NAME OS_VER DRIVER_NAME DRIVER_VER LIBRARY_NAME LIBRARY_VER STDIN STDOUT XMDSTUB_PERIPHERAL ARCHIVER COMPILER COMPILER_FLAGS EXTRA_COMPILER_FLAGS
17
18hi def link mssComment Comment
19hi def link mssKeyword Keyword
20hi def link mssType Type
21hi def link mssConstant Constant
22
23let b:current_syntax = "mss"