mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	runtime(nim): basic nim ftplugin file for comments (vim/vim#14812)
Reference: https://nim-by-example.github.io/comments/#:~:text=Comments%20in%20Nim%20begin%20with%20the%20hash%20character.&text=Multiline%20or%20block%20comments%20begin,line%20comments%20can%20be%20nested.
f295050fa5
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			282 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			282 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
" Vim filetype plugin
 | 
						|
" Language:	nim
 | 
						|
" Maintainer:	Riley Bruins <ribru17@gmail.com>
 | 
						|
" Last Change:	2024 May 19
 | 
						|
 | 
						|
if exists('b:did_ftplugin')
 | 
						|
  finish
 | 
						|
endif
 | 
						|
let b:did_ftplugin = 1
 | 
						|
 | 
						|
setl comments=exO:]#,fs1:#[,mb:*,ex:]#,:# commentstring=#\ %s
 | 
						|
 | 
						|
let b:undo_ftplugin = 'setl com< cms<'
 |