13 Commits
Author SHA1 Message Date
Fred Emmott 4923d48d53 Correct related information line numbers from 0-based to 1-based 2018-08-15 14:46:57 -07:00
Fred Emmott 764da48c57 Test file was the wrong way around 2018-08-15 14:40:51 -07:00
Fred Emmott c467db3ed9 Better formatting 2018-08-15 14:31:30 -07:00
Fred Emmott 484a70f0c0 Use new-ish LSP 'relatedInformation' field for :ALEDetail 2018-08-15 14:19:32 -07:00
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