mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	Problem: The default commentstring for C/C++ can lead to invalid code when commenting and does not match the Nvim codebase. Solution: Change commentstring to `// %s` as used by Neovim. Also set all commentstrings that derive from the default C string explicitly (and correctly).
		
			
				
	
	
		
			2 lines
		
	
	
		
			34 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			34 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
vim.bo.commentstring = '/* %s */'
 |