Add lang/perl

This commit is contained in:
Henrik Lissner 2017-07-06 14:59:34 +02:00
parent b135c1a5f3
commit f0384a5fd4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 23 additions and 0 deletions

View file

@ -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

View 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))

View file

@ -0,0 +1,7 @@
;; -*- no-byte-compile: t; -*-
;;; lang/perl/packages.el
(package! perl6-mode)
(when (featurep! :feature syntax-checker)
(package! flycheck-perl6))