Add lang/perl
This commit is contained in:
parent
b135c1a5f3
commit
f0384a5fd4
3 changed files with 23 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
||||||
lua ; one-based indices? one-based indices
|
lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
ocaml ; an objective camel
|
ocaml ; an objective camel
|
||||||
|
perl ; write code no one else can comprehend
|
||||||
php ; make php less awful to work with
|
php ; make php less awful to work with
|
||||||
purescript ; javascript, but functional
|
purescript ; javascript, but functional
|
||||||
python ; beautiful is better than ugly
|
python ; beautiful is better than ugly
|
||||||
|
|
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))
|
7
modules/lang/perl/packages.el
Normal file
7
modules/lang/perl/packages.el
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
;; -*- no-byte-compile: t; -*-
|
||||||
|
;;; lang/perl/packages.el
|
||||||
|
|
||||||
|
(package! perl6-mode)
|
||||||
|
|
||||||
|
(when (featurep! :feature syntax-checker)
|
||||||
|
(package! flycheck-perl6))
|
Loading…
Add table
Add a link
Reference in a new issue