mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 8a338c0ccc
			
		
	
	8a338c0ccc
	
	
	
		
			
			- Adds commentstring property for terraform
- Adds comments property for terraform
closes: vim/vim#15144
2fbcc15cf9
Co-authored-by: Janno Tjarks <janno.tjarks@mailbox.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			305 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			305 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim filetype plugin
 | |
| " Language: terraform
 | |
| " Maintainer: Janno Tjarks (janno.tjarks@mailbox.org)
 | |
| " Last Change: 2024 Jul 3
 | |
| 
 | |
| if exists('b:did_ftplugin')
 | |
|   finish
 | |
| endif
 | |
| let b:did_ftplugin = 1
 | |
| 
 | |
| setlocal commentstring=#\ %s
 | |
| setlocal comments=://,:#
 | |
| 
 | |
| let b:undo_ftplugin = "setlocal commentstring< comments<"
 |