mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	This especially helps braces that surround code blocks. Back-patch to v11, where commit 56fb890ace8ac0ca955ae0803c580c2074f876f6 first appeared; before that, settings were even more distant from perltidy. Reviewed by Andrew Dunstan. Discussion: https://postgr.es/m/20190103055355.GB267595@gust.leadboat.com
		
			
				
	
	
		
			20 lines
		
	
	
		
			730 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			730 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
;; see also src/tools/editors/emacs.samples for more complete settings
 | 
						|
 | 
						|
((c-mode . ((c-basic-offset . 4)
 | 
						|
            (c-file-style . "bsd")
 | 
						|
            (fill-column . 78)
 | 
						|
            (indent-tabs-mode . t)
 | 
						|
            (tab-width . 4)))
 | 
						|
 (nxml-mode . ((fill-column . 78)
 | 
						|
               (indent-tabs-mode . nil)))
 | 
						|
 (perl-mode . ((perl-indent-level . 4)
 | 
						|
               (perl-continued-statement-offset . 2)
 | 
						|
               (perl-continued-brace-offset . -2)
 | 
						|
               (perl-brace-offset . 0)
 | 
						|
               (perl-brace-imaginary-offset . 0)
 | 
						|
               (perl-label-offset . -2)
 | 
						|
               (indent-tabs-mode . t)
 | 
						|
               (tab-width . 4)))
 | 
						|
 (sgml-mode . ((fill-column . 78)
 | 
						|
               (indent-tabs-mode . nil))))
 |