2018-07-27 20:50:59 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Hack Integration *ale-hack-options*
|
2018-08-02 20:09:51 +00:00
|
|
|
*ale-integration-hack*
|
|
|
|
|
|
|
|
HHAST is disabled by default, as it executes code in the project root.
|
|
|
|
|
|
|
|
Currently linters must be enabled globally. HHAST can be enabled with:
|
|
|
|
|
|
|
|
>
|
|
|
|
let g:ale_linters = {'hack': ['hack', 'hhast']}
|
|
|
|
<
|
2018-07-27 20:50:59 +00:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
hack *ale-hack-hack*
|
|
|
|
|
2018-08-02 19:59:04 +00:00
|
|
|
g:ale_hack_hack_executable *g:ale_hack_hack_executable*
|
|
|
|
*b:ale_hack_hack_executable*
|
2018-07-27 20:50:59 +00:00
|
|
|
|
|
|
|
Type: |String|
|
|
|
|
Default: `'hh_client'`
|
|
|
|
|
|
|
|
This variable can be set to use a specific executable to interact with the
|
|
|
|
Hack typechecker.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
hackfmt *ale-hack-hackfmt*
|
|
|
|
|
|
|
|
g:ale_hack_hackfmt_options *g:ale_hack_hackfmt_options*
|
|
|
|
*b:ale_hack_hackfmt_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to the hackfmt fixer.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
hhast *ale-hack-hhast*
|
|
|
|
|
|
|
|
g:ale_hack_hhast_executable *g:ale_hack_hhast_executable*
|
|
|
|
*b:ale_hack_hhast_executable*
|
|
|
|
|
|
|
|
Type: |String|
|
|
|
|
Default: `'vendor/bin/hhast-lint'`
|
|
|
|
|
|
|
|
This variable can be set to use a specific executable to interact with the
|
|
|
|
Hack typechecker.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|