Commit Graph

1069 Commits

Author SHA1 Message Date
w0rp
6f94cee56e Try putting the build status in the title line
This might show the first line of text on some mobile browsers again.
2016-10-11 22:04:10 +01:00
w0rp
957acf186d Add the logo and thank Mark for his work. 2016-10-11 21:55:26 +01:00
w0rp
ec2ce91f3f Merge pull request #92 from neersighted/handlers
Remove many redundant handlers
2016-10-11 20:49:57 +01:00
w0rp
687d66cf25 Merge pull request #95 from neersighted/typos
Return in the statusline compatibility function, fixing #71
2016-10-11 20:48:52 +01:00
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
w0rp
f88db6c336 Merge pull request #93 from neersighted/pruning
Clean and reorganize flags/preferences
2016-10-11 17:18:17 +01: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
w0rp
d8d08de26c Merge pull request #90 from neersighted/golang
Add golang support
2016-10-11 15:02:32 +01: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
w0rp
6ee42c9a2d Merge pull request #91 from w0rp/vint-style-flag
Support Vint style issues, and enabling/disabling them
2016-10-11 13:33:18 +01:00
w0rp
38dcf30045 Set an option for turning Vint style issues on or off. 2016-10-11 13:20:56 +01:00
w0rp
0fa730aecf Merge pull request #86 from neersighted/vint-s
Explicit scope (aka vint -s)
2016-10-11 13:07:03 +01: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
Marc Delage
9a519684f2 add shellcheck option to the doc and sort options by theme (#85)
* add shellcheck options to the doc

* sort option by theme

* correct text for shellcheck option
2016-10-10 23:48:41 +01:00
w0rp
c37e053944 #81 - Run commands through the shell on Unix machines 2016-10-10 22:56:12 +01:00
w0rp
2dee212408 Merge pull request #83 from neersighted/master
Fixup stdin-wrapper
2016-10-10 21:56:07 +01: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
w0rp
151152b446 #81: Close the Vint format quote. 2016-10-10 20:21:12 +01:00
w0rp
e9ad21b679 Fix cursor bugs. 2016-10-10 19:56:05 +01: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
w0rp
0680f875fe Add an option for configuring the path for JSHint. 2016-10-10 19:07:01 +01:00
w0rp
6f1ec7306d REVERT "#39 Use getbufline() for MacVim GUI too."
This reverts commit 3083d05afd.
2016-10-10 18:56:39 +01:00
w0rp
0708531a13 Merge pull request #79 from KabbAmine/fix-typos
Fix typos in README
2016-10-10 16:27:28 +01:00
w0rp
731f2fafb6 Merge pull request #77 from KabbAmine/minor-fixes
Minor fixes:
2016-10-10 16:26:58 +01:00
Kabbaj Amine
4149971c08 Minor fixes:
* Ensure that php linter pattern does not include spaces:
    PHP can return errors with extra spaces like the following:
    `PHP Parse error:  syntax error, unexpected end of file in t.php on line 4`

* Set option locally to buffer

* Rename noErrors variable according to the project's naming convention

* Make the jsonlint pattern a little better
2016-10-10 18:05:18 +03:00
Kabbaj Amine
7fe0ab27bd Fix typos in README 2016-10-10 17:53:09 +03:00
w0rp
4c9aa1c638 #74 - Document g:ale_buffer_loclist_map 2016-10-10 13:25:37 +01:00
w0rp
7acfa72c0d Fix #75 - Explain that you need to update NeoVim in the plugin itself. 2016-10-10 13:16:32 +01:00
w0rp
d022a867b4 Correct some grammar in the docs. 2016-10-10 12:58:55 +01:00
w0rp
56894b432e Merge remote-tracking branch 'origin/echo-string-format' 2016-10-10 12:57:27 +01:00
w0rp
3083d05afd #39 Use getbufline() for MacVim GUI too. 2016-10-10 12:54:39 +01:00
KabbAmine
e4b3f579fa Echo string format (#76)
* Implement an option to configure the echoed message, #48

Via `g:ale_echo_msg_format` where:
- `%s` is the error message itself
- `%linter%` is the linter name
- `%severity` is the severity type

e.g
let g:ale_echo_msg_fomat = '[%linter%] [%severity%] %s'

* Add new options for defining the string used for errors in echoed
message

`g:ale_echo_msg_error_str` and `g:ale_echo_msg_warning_str`

* Change text output of some linters

Now that the echoed message can be customized, no need to add the type
to the text variable.

* Update README & documentation file

* Fix some typos
* Sort the table of options alphabetically (except echo_msg_x_str options)

* Added echo warning str option to the doc
2016-10-10 12:53:54 +01:00
w0rp
f60df660f8 #48 Store the linter name in the loclist objects for later use. 2016-10-09 21:44:50 +01:00
w0rp
8d390384f1 Correct issues with some errors appearing at line 0, not 1. 2016-10-09 21:40:33 +01:00
w0rp
9902eadd33 Up-indent types and defaults, and align markers 2016-10-09 21:23:34 +01:00
w0rp
e0036b2f4c Make spacing and indentation consistent in the documentation, and make the docs easier to read. 2016-10-09 21:20:21 +01:00
Marc Delage
bc937639d0 Merge #66 with some amendments. 2016-10-09 21:14:22 +01:00
w0rp
a1ecf9ecea Merge branch 'shell-detection' 2016-10-09 21:04:43 +01:00
w0rp
dea8af1e57 Merge pull request #73 from KabbAmine/fix-69
Modify shell's pattern to handle locals other than english, fixes #69
2016-10-09 20:59:25 +01:00
Kabbaj Amine
b2714da78b Modify shell's pattern to handle locals other than english, fixes #69 2016-10-09 22:57:11 +03:00
w0rp
07599d006c Document the default shell option 2016-10-09 20:45:51 +01:00