mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 054a287dbe
			
		
	
	054a287dbe
	
	
	
		
			
			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
		
	
	
		
			31 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			31 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| vim.bo.commentstring = '// %s'
 |