mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	- Don't assume b:undo_ftplugin is set when first modifying it. - Don't assume b:undo_ftplugin already contains some resetting.
		
			
				
	
	
		
			4 lines
		
	
	
		
			110 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			110 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
vim.bo.commentstring = '// %s'
 | 
						|
 | 
						|
vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') .. '\n setl commentstring<'
 |