Commit Graph
15 Commits
Author SHA1 Message Date
Bjorn Neergaard 82f38dcd45 Return in the statusline compatibility function, fixing #71 2016-10-11 14:24:43 -05:00
Bjorn Neergaard 93cd44e2ec Match both error and syntax error in verilog 2016-10-11 12:08:31 -05:00
Bjorn Neergaard fc711a0615 Clean and reorganize flags/preferences 2016-10-11 10:02:36 -05:00
Bjorn Neergaard 572c877a69 Default handlers to warning 2016-10-11 09:42:50 -05:00
Bjorn Neergaard c290e2cd60 Remove many redundant handlers 2016-10-11 09:22:47 -05:00
Bjorn Neergaard 1074afbd08 Add new go linters to the help 2016-10-11 08:58:44 -05:00
Bjorn Neergaard ef14a04470 Make HandleUnixFormat Windows-compatible 2016-10-11 08:54:41 -05:00
Bjorn Neergaard 23442a2ec3 Introduce generic unix formatter
Two wrapper functions allow treating lines as errors or as warnings
2016-10-11 08:43:57 -05:00
Bjorn Neergaard 5caec8d3b8 Introduce golang support
This includes go vet, golint, and gofmt -e
2016-10-11 07:56:14 -05:00
Bjorn Neergaard de7e14a484 Enable style checks in Travis 2016-10-11 06:14:28 -05:00
Bjorn Neergaard fb4b797dd2 Use explicit scope in all ale_linters
vint -s is now clean
2016-10-11 06:14:26 -05:00
Bjorn Neergaard ca4badfb3a Use explicit scope in the ale core, as advised by vint -s 2016-10-11 06:14:20 -05:00
Bjorn Neergaard ad2ee80eb6 More randomness in the wrapper tmpfile 2016-10-10 15:53:56 -05:00
Bjorn Neergaard e68800a28d Fixup stdin-wrapper
* Use a more universal shebang.
* Use the template feature of mktemp to avoid silly gymnastics.
2016-10-10 14:31:17 -05:00
Bjorn Neergaard 7f0ce89d2b First pass at optimizing ale to autoload (#80)
* First pass at optimizing ale to autoload

First off, the structure/function names should be revised a bit,
but I will wait for @w0rp's input before unifying the naming style.
Second off, the docs probably need some more work, I just did some
simple find-and-replace work.

With that said, this pull brings major performance gains for ale. On my
slowest system, fully loading ale and all its code takes around 150ms.

I have moved all of ale's autoload-able code to autoload/, and in
addition, implemented lazy-loading of linters. This brings load time on
that same system down to 5ms.

The only downside of lazy loading is that `g:ale_linters` cannot be
changed at runtime; however, it also speeds up performance at runtime by
simplfying the logic greatly.

Please let me know what you think!

Closes #59

* Address Travis/Vint errors

For some reason, ale isn't running vint for me...

* Incorporate feedback, make fixes

Lazy-loading logic is much improved.

* Add header comments; remove incorrect workaround

* Remove unneeded plugin guards

* Fix lazy-loading linter logic

Set the wrong variable....

* Fix capitialization
2016-10-10 19:51:29 +01:00