9 Commits
Author SHA1 Message Date
Fred Emmott e3c81911d6 Tell HHAST to only look at open files
Given ALE only cares about open files, this has no observable change,
except for significantly reduced resource usage.
2018-08-02 14:23:03 -07:00
Fred Emmott a728f074f7 Disable HHAST by default
it executes $PROJECT/vendor/bin/hhast, so that's not a good idea.
2018-08-02 13:50:56 -07:00
Fred Emmott de6cd961a8 Suggested changes 2018-08-02 12:59:04 -07:00
Fred Emmott e6bd4373f9 coding style 2018-08-02 11:44:17 -07:00
Fred Emmott 5ff4e27e17 Update suggested filetypes for hackfmt 2018-08-02 11:28:57 -07:00
Fred Emmott 238201805d Split Hack out from PHP, modernize
fixes #1738

- Replace previous `hh_client` usage with LSP client
- Add `HHAST` linter
- Split Hack from PHP: Hack is increasingly diverging from PHP:
  - Hack tools do not understand PHP
  - Most PHP tools do not handle Hack code well (including vim's syntax
    highightling files)
  - http://github.com/hhvm/vim-hack now sets filetype to `hack`
2018-08-02 11:28:56 -07:00
Fred Emmott 04362c746d Add test for LSP code of -1 2018-08-02 09:30:22 -07:00
Fred Emmott e722841fa3 Improved documentation for code loclist item field 2018-08-02 09:24:45 -07:00
Fred Emmott 2768bf15ba Handle LSP codes for %code% in message formats
fixes #1767
2018-08-02 09:06:48 -07:00