Skip to content

Instantly share code, notes, and snippets.

@j1n3l0
Last active August 9, 2018 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j1n3l0/57891896b951c522ea3b97cc96f48d4b to your computer and use it in GitHub Desktop.
Save j1n3l0/57891896b951c522ea3b97cc96f48d4b to your computer and use it in GitHub Desktop.
(use-package cperl-mode
:ensure t
:init (defalias 'perl-mode 'cperl-mode)
:mode (("\\.t\\'" . cperl-mode)
("cpanfile" . cperl-mode))
:config (setq cperl-indent-level 4
cperl-close-paren-offset -4
cperl-continued-statement-offset 4
cperl-indent-parens-as-block t
cperl-tab-always-indent t)
(set-face-attribute 'cperl-array-face nil
:background nil
:foreground nil
:slant 'normal
:weight 'normal)
(set-face-attribute 'cperl-hash-face nil
:background nil
:foreground nil
:slant 'normal
:weight 'normal)
(set-face-foreground 'cperl-nonoverridable-face nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment