do not edit — generated by btf.
git.druid.rocksindexdruid520radiumradium-lang-perl.el

radium-lang-perl.el


;;; radium-lang-perl.el, cperl-mode tuned to match tab-indented style -*- lexical-binding: t; -*-
 
(defalias 'perl-mode 'cperl-mode)
(add-to-list 'auto-mode-alist '("\\.pl\\'" . cperl-mode))
(add-to-list 'auto-mode-alist '("\\.pm\\'" . cperl-mode))
(add-to-list 'interpreter-mode-alist '("perl" . cperl-mode))
 
(setq cperl-indent-level 8
      ;; my perl braces are allman too (brace on its own line, aligned
      ;; with the statement that opens it - if/sub/for, same as c) -
      ;; cperl treats a hanging bare "{" as a *continuation* of the
      ;; previous (still-open) statement and was adding a whole extra
      ;; tab on top of it, so nested blocks drifted one level too deep.
      ;; 0 means a hanging brace lands flush with its own opening line.
      cperl-continued-statement-offset 0
      cperl-close-paren-offset -8
      cperl-indent-parens-as-block t
      cperl-tab-always-indent t
      cperl-indent-tabs-mode t
      cperl-electric-keywords nil
      cperl-electric-parens nil
      cperl-lazy-help-time nil)
 
(provide 'radium-lang-perl)
powered by btf.