Add lang/perl
This commit is contained in:
parent
b135c1a5f3
commit
f0384a5fd4
3 changed files with 23 additions and 0 deletions
15
modules/lang/perl/config.el
Normal file
15
modules/lang/perl/config.el
Normal file
|
@ -0,0 +1,15 @@
|
|||
;;; lang/perl/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; There's also `perl-mode' for perl < 6, which is already set up.
|
||||
(when (featurep! :feature syntax-checker)
|
||||
(add-hook 'perl-mode-hook #'flycheck-mode))
|
||||
|
||||
|
||||
(def-package! perl6-mode
|
||||
:init (require 'perl6-detect))
|
||||
|
||||
|
||||
(def-package! flycheck-perl6
|
||||
:after perl6-mode
|
||||
:when (featurep! :feature syntax-checker)
|
||||
:config (add-hook 'perl6-mode-hook #'flycheck-mode))
|
Loading…
Add table
Add a link
Reference in a new issue