mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Make Emacs settings match perltidy configuration
Set Emacs's perl-continued-statement-offset to match perltidy's --continuation-indentation, which is 2 (not overridden in PostgreSQL's profile) rather than the 4 that Emacs uses by default.
This commit is contained in:
parent
bc972072a3
commit
56fb890ace
@ -8,7 +8,7 @@
|
||||
(dsssl-mode . ((indent-tabs-mode . nil)))
|
||||
(nxml-mode . ((indent-tabs-mode . nil)))
|
||||
(perl-mode . ((perl-indent-level . 4)
|
||||
(perl-continued-statement-offset . 4)
|
||||
(perl-continued-statement-offset . 2)
|
||||
(perl-continued-brace-offset . 4)
|
||||
(perl-brace-offset . 0)
|
||||
(perl-brace-imaginary-offset . 0)
|
||||
|
@ -48,7 +48,7 @@
|
||||
(setq perl-brace-imaginary-offset 0)
|
||||
(setq perl-brace-offset 0)
|
||||
(setq perl-continued-brace-offset 4)
|
||||
(setq perl-continued-statement-offset 4)
|
||||
(setq perl-continued-statement-offset 2)
|
||||
(setq perl-indent-level 4)
|
||||
(setq perl-label-offset -2)
|
||||
(setq indent-tabs-mode t)
|
||||
|
Loading…
Reference in New Issue
Block a user