mirror of
https://github.com/vim/vim
synced 2025-03-15 06:17:51 +01:00
Problem: filetype: cgdb config file is not recognized Solution: Detect cgdbrc files as cgdbrc filetype (Wu, Zhenyu) closes: #14458 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
16 lines
435 B
VimL
16 lines
435 B
VimL
" Vim syntax file
|
|
" Language: cgdbrc
|
|
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
|
" Documentation: https://cgdb.github.io/docs/Configuring-CGDB.html
|
|
" Latest Revision: 2024-04-09
|
|
|
|
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
let b:current_syntax = 'cgdbrc'
|
|
|
|
runtime! syntax/vim.vim
|
|
|
|
syn region cgdbComment start="^\s*\#" skip="\\$" end="$" contains=@Spell
|
|
|
|
highlight default link cgdbComment Comment
|