From 50e9e2401258ac6b713bd5d349d668f171a633f7 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 25 Sep 2017 11:44:50 +0200 Subject: [PATCH] Add indent configuration for perl --- emacs/.emacs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs b/emacs/.emacs index 0097234..7eb7a11 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -12,6 +12,8 @@ ;; Set frame title (setq frame-title-format "[%m] %f") +(setq-default indent-tabs-mode nil) + ;; Default frame size (setq initial-frame-alist '( @@ -58,7 +60,10 @@ (ansi-term shell-pop-term-shell))))) '(shell-pop-window-position "top") '(shell-pop-window-size 20) - '(tool-bar-mode nil)) + '(tool-bar-mode nil) + '(cperl-indent-level 2) + '(cperl-close-paren-offset -2) + '(cperl-indent-parens-as-block t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.