mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
56fb890ace
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.
20 lines
738 B
EmacsLisp
20 lines
738 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)))
|
|
(dsssl-mode . ((indent-tabs-mode . nil)))
|
|
(nxml-mode . ((indent-tabs-mode . nil)))
|
|
(perl-mode . ((perl-indent-level . 4)
|
|
(perl-continued-statement-offset . 2)
|
|
(perl-continued-brace-offset . 4)
|
|
(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))))
|