diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-10-02 11:29:42 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-10-02 11:29:42 -0500 |
| commit | cd11e8694e256a820188dfc7990f3d8c0566c257 (patch) | |
| tree | db685b7efe3e221415e67a35fdf792aa2b9d7ae6 /emacs/dotemacs | |
| parent | b12b1395cf636239754a1f73a358b5861f8f99c4 (diff) | |
cperl
Diffstat (limited to 'emacs/dotemacs')
| -rw-r--r-- | emacs/dotemacs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/dotemacs b/emacs/dotemacs index 5f1842a..b5dc1a1 100644 --- a/emacs/dotemacs +++ b/emacs/dotemacs @@ -184,8 +184,9 @@ (add-hook 'go-mode-hook #'lsp-go-install-save-hooks) ;; perl -(add-to-list 'auto-mode-alist '("\\.\\(p\\([lm]\\)\\)\\'" . perl-mode)) -(add-to-list 'auto-mode-alist '("\\.t\\'" . perl-mode)) +(add-to-list 'major-mode-remap-alist '(perl-mode . cperl-mode)) +(add-to-list 'auto-mode-alist '("\\.\\(p\\([lm]\\)\\)\\'" . cperl-mode)) +(add-to-list 'auto-mode-alist '("\\.t\\'" . cperl-mode)) (setq perl-indent-level 2) ;; markdown, text |
