mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04: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>
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			435 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			17 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
 |