summaryrefslogtreecommitdiff
path: root/doc/ale-hack.txt
diff options
context:
space:
mode:
authorFred Emmott <fe@fb.com>2018-08-02 13:09:51 -0700
committerFred Emmott <fe@fb.com>2018-08-02 13:50:56 -0700
commita728f074f727ad9aac0d6947f7b81d26078c0fb6 (patch)
tree23183f735de3a9cb1ca99e9fe212af16a68605df /doc/ale-hack.txt
parentde6cd961a83674ef1a73d4c4e9a1b9ccc73ec941 (diff)
downloadale-a728f074f727ad9aac0d6947f7b81d26078c0fb6.zip
Disable HHAST by default
it executes $PROJECT/vendor/bin/hhast, so that's not a good idea.
Diffstat (limited to 'doc/ale-hack.txt')
-rw-r--r--doc/ale-hack.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ale-hack.txt b/doc/ale-hack.txt
index a8027424..4776b8cf 100644
--- a/doc/ale-hack.txt
+++ b/doc/ale-hack.txt
@@ -1,5 +1,14 @@
===============================================================================
ALE Hack Integration *ale-hack-options*
+ *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']}
+<
===============================================================================
hack *ale-hack-hack*