spacemacs/layers/+lang/perl5
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
..
img
config.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
funcs.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org Add Perl5 Company backend and code formatter 2017-10-15 11:08:01 -04:00

Perl5 layer

/TakeV/spacemacs/media/commit/59e0c5683aed94f9ccc37256cafb5cebb1934275/layers/+lang/perl5/img/perl5.png

Description

This layer adds support for the Perl5 language.

Features:

  • Syntactic and semantic checking using flycheck
  • Auto-completion using company-plsense
  • Format code with perltidy
  • Jump to symbol definition

Install

Layer

To use this configuration layer, add it to your ~/.spacemacs. You will need to add perl5 to the existing dotspacemacs-configuration-layers list in this file.

Auto-completion: PlSense

company-plsense requires installation of the plsense server from here.

Key Bindings

Perldoc

Browse formated perldocs.

Key Binding Description
SPC m h h view perldoc of symbol at point
SPC m h d view perldoc of any symbol

POD and HERE doc

Select a POD or HERE doc.

Key Binding Description
SPC m v select entire POD or HERE doc at point

Find Symbol

Jump to symbol definition.

Key Binding Description
SPC m g g jump to symbol definition
SPC m g G jump to symbol definition in other window

Formating Code

Key Binding Description
SPC m = = format current line or region
SPC m = b format current buffer
SPC m = f format current function