This layer provides the following features for the Perl 6 Programming Language: * Jump to definition & Code completion via [ctags-universal](https://github.com/universal-ctags/ctags) * Syntax checking via [flycheck-perl6](https://github.com/hinrik/flycheck-perl6) * Syntax highlighting & Syntax indentation via [perl6-mode](https://github.com/hinrik/perl6-mode) * `META6.json` highlighting via [json-mode](https://github.com/joshwnj/json-mode) * Provides evil text objects for: * double-angle-brackets * corner-brackets * single-quotation-marks * double-quotation-marks See also #5019 |
||
---|---|---|
.. | ||
img | ||
config.el | ||
packages.el | ||
README.org |
perl6 layer
Description
This layer provides the following features for the Perl 6 Programming Language:
- Jump to definition & Code completion via ctags-universal
- Syntax checking via flycheck-perl6 and
perl6 -c
- Syntax highlighting & Syntax indentation via perl6-mode
META6.json
highlighting via json-mode-
Provides evil text objects for:
- double-angle-brackets
- corner-brackets
- single-quotation-marks
- double-quotation-marks
Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add perl6
to the existing dotspacemacs-configuration-layers
list in this
file.
It is highly recommended to install ctags-universal not ctags-exhuberant
because it has support for Perl 6. You can use it to generate your TAGS
file
in your project directory like this:
ctags -e -Ra lib t/
ctags -e -Ra --language-force=Perl6 bin/ $YOUR_PERL_PATH/share/perl6/site/sources/
Key bindings
Key Binding | Description |
---|---|
SPC m g g |
Jump to definition |