mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	runtime/syntax/dosini.vim supports both ; and # as comments, and I think a bunch of the files detected as dosini do too, so add support for # to the ftplugin. closes: #16681 Signed-off-by: David Mandelberg <david@mandelberg.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
		
			
				
	
	
		
			21 lines
		
	
	
		
			538 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			538 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim filetype plugin file
 | |
| " Language:             Configuration File (ini file) for MS-DOS/MS Windows
 | |
| " Maintainer:           This runtime file is looking for a new maintainer.
 | |
| " Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
 | |
| " Latest Revision:      2025 Feb 20
 | |
| 
 | |
| if exists("b:did_ftplugin")
 | |
|   finish
 | |
| endif
 | |
| let b:did_ftplugin = 1
 | |
| 
 | |
| let s:cpo_save = &cpo
 | |
| set cpo&vim
 | |
| 
 | |
| let b:undo_ftplugin = "setl com< cms< fo<"
 | |
| 
 | |
| setlocal comments=:;,:# commentstring=;\ %s formatoptions-=t formatoptions+=croql
 | |
| 
 | |
| let &cpo = s:cpo_save
 | |
| unlet s:cpo_save
 |