X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/doc/ale-perl6.txt diff --git a/.vim/bundle/ale/doc/ale-perl6.txt b/.vim/bundle/ale/doc/ale-perl6.txt new file mode 100644 index 00000000..be1cdf3a --- /dev/null +++ b/.vim/bundle/ale/doc/ale-perl6.txt @@ -0,0 +1,49 @@ +=============================================================================== +ALE Perl6 Integration *ale-perl6-options* + +Checking code with `perl6` is disabled by default, as `perl6` code cannot be +checked without executing it. Specifically, we use the `-c` flag to see if +`perl6` code compiles. This does not execute all of the code in a file, but it +does run `BEGIN` and `CHECK` blocks. See `perl6 --help` + +Full support requires a perl6 implementation that supports the +PERL6_EXCEPTIONS_HANDLER environment variable and JSON error output, +which was specified in 6.d. Rakudo version 2018.08 is the first rakudo release +that supports this. See `perl6 --version` and +https://docs.perl6.org/programs/03-environment-variables. + +Without this variable, errors and warnings will appear at line 1, and can be +viewed with ALEDetail. This also serves as a fallback for errors and warnings +that do not trigger JSON output. + +See |g:ale_linters|. + + +=============================================================================== +perl6 *ale-perl6-perl6* + + *ale-options.perl6_perl6_executable* + *g:ale_perl6_perl6_executable* + *b:ale_perl6_perl6_executable* +perl6_perl6_executable +g:ale_perl6_perl6_executable + Type: |String| + Default: `'perl6'` + + This variable can be changed to modify the executable used for linting + perl6. + + *ale-options.perl6_perl6_options* + *g:ale_perl6_perl6_options* + *b:ale_perl6_perl6_options* +perl6_perl6_options +g:ale_perl6_perl6_options + Type: |String| + Default: `'-c -Ilib'` + + This variable can be changed to alter the command-line arguments to the + perl6 invocation. + + +=============================================================================== + vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: