summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-hack.txt9
-rw-r--r--doc/ale.txt1
2 files changed, 10 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*
diff --git a/doc/ale.txt b/doc/ale.txt
index b60c3da0..c360d3bd 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1214,6 +1214,7 @@ g:ale_linters *g:ale_linters*
{
\ 'csh': ['shell'],
\ 'go': ['gofmt', 'golint', 'go vet'],
+ \ 'hack': ['hack'],
\ 'help': [],
\ 'perl': ['perlcritic'],
\ 'python': ['flake8', 'mypy', 'pylint'],