mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 074a6abd55
			
		
	
	074a6abd55
	
	
	
		
			
			Problem:  filetype: GNU Radio config files are not recognized.
Solution: detect GNU Radio config files as confini filetype.  Only
          allow '#' as start of comment in confini syntax (zeertzjq).
Ref:
- https://wiki.gnuradio.org/index.php/Configuration_Files
closes: vim/vim#17242
9c9200d1ea
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			418 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			418 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim syntax file
 | |
| " Language: confini
 | |
| " Last Change:
 | |
| " 2025 May 02 by Vim project commented line starts with # only
 | |
| 
 | |
| " Quit if a syntax file was already loaded
 | |
| if exists("b:current_syntax")
 | |
|   finish
 | |
| endif
 | |
| 
 | |
| " Use the cfg syntax for now, it's similar.
 | |
| runtime! syntax/cfg.vim
 | |
| 
 | |
| " Only accept '#' as the start of a comment.
 | |
| syn clear CfgComment
 | |
| syn match CfgComment "#.*" contains=@Spell
 | |
| 
 | |
| let b:current_syntax = 'confini'
 |