]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/ale/doc/ale-hack.txt

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge commit '76265755a1add77121c8f9dabb3e9bb70fe9a972' as '.vim/bundle/ale'
[etc/vim.git] / .vim / bundle / ale / doc / ale-hack.txt
1 ===============================================================================
2 ALE Hack Integration                                         *ale-hack-options*
3                                                          *ale-integration-hack*
4
5   HHAST is disabled by default, as it executes code in the project root.
6
7   Currently linters must be enabled globally. HHAST can be enabled in ftplugin
8   files like so: >
9
10   let b:ale_linters = ['hack', 'hhast']
11 <
12   Or in Lua: >
13   require("ale").setup.buffer({linters = {"hack", "hhast"}})
14 <
15
16 ===============================================================================
17 hack                                                            *ale-hack-hack*
18
19                                              *ale-options.hack_hack_executable*
20                                                    *g:ale_hack_hack_executable*
21                                                    *b:ale_hack_hack_executable*
22 hack_hack_executable
23 g:ale_hack_hack_executable
24   Type: |String|
25   Default: `'hh_client'`
26
27   This variable can be set to use a specific executable to interact with the
28   Hack typechecker.
29
30
31 ===============================================================================
32 hackfmt                                                      *ale-hack-hackfmt*
33
34                                              *ale-options.hack_hackfmt_options*
35                                                    *g:ale_hack_hackfmt_options*
36                                                    *b:ale_hack_hackfmt_options*
37 hack_hackfmt_options
38 g:ale_hack_hackfmt_options
39   Type: |String|
40   Default: `''`
41
42   This variable can be set to pass additional options to the hackfmt fixer.
43
44
45 ===============================================================================
46 hhast                                                          *ale-hack-hhast*
47
48                                             *ale-options.hack_hhast_executable*
49                                                   *g:ale_hack_hhast_executable*
50                                                   *b:ale_hack_hhast_executable*
51 hack_hhast_executable
52 g:ale_hack_hhast_executable
53   Type: |String|
54   Default: `'vendor/bin/hhast-lint'`
55
56   This variable can be set to use a specific executable to interact with the
57   Hack typechecker.
58
59
60 ===============================================================================
61   vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: