Commit Graph

2143 Commits

Author SHA1 Message Date
Bjorn Neergaard
f37896a898 Implement autocommand support 2016-10-13 15:05:42 +01:00
w0rp
86ee54e271 Merge pull request #97 from neersighted/statusline-count
Implement a more efficient statusbar
2016-10-13 15:02:58 +01:00
Bjorn Neergaard
f74d4938d0
Cleanup vimrc rtp 2016-10-13 08:54:07 -05:00
Bjorn Neergaard
6e789c33b0
Add statusline tests 2016-10-13 08:52:53 -05:00
Bjorn Neergaard
d7b36e0cf2
Make statusline initial updates more elegant 2016-10-13 08:51:40 -05:00
Bjorn Neergaard
dc58db7640
Implement a more efficient statusbar
The statusbar now keeps its state in a separate variable, in order to
avoid excess iterations. The engine now updates said variable on run,
and a new function is made available for external statusbars to call (to
avoid dependencies on internal implementation details of ale).

To keep things light, the status bar code is not loaded unless invoked
by the user or an external plugin. On the first load it will update
itself from the global loclist, after that, the engine will handle all
updates.

The external integration function, `ale#statusline#Count()`, will return
a tuple in the format [E, W] (where E is errors, W is warnings), unless
no data exists (ie, the plugin doesn't have a linter for a file or has
not run yet), in which case it returns 0/false.
2016-10-13 08:51:38 -05:00
w0rp
f4159ac7ee Merge pull request #101 from s-ol/luacheck
add luacheck linter
2016-10-13 10:02:08 +01:00
s-ol
c197928d67 add documentation for luacheck linter 2016-10-13 10:05:30 +02:00
w0rp
217bb5cb40 Improve the output of the tests, and fix the style issue again. 2016-10-12 23:55:09 +01:00
w0rp
afec4df13f Add a commit with style issues. 2016-10-12 23:21:57 +01:00
w0rp
7287943473 Add ALE to the Vim runtimepath in the Docker image so it can run tests. 2016-10-12 23:17:09 +01:00
w0rp
037b703682 Remove the example, and trigger Travis again. 2016-10-12 22:33:55 +01:00
w0rp
e058f9d51b Merge pull request #88 from prashcr/master
Use vim-testbed to run Vader tests on Travis
2016-10-12 22:17:16 +01:00
w0rp
dbbf77c19d Hide more trailing whitespace warnings when the option is on for flake8. 2016-10-12 15:36:59 +01:00
s-ol
1d321e6f39 add luacheck linter 2016-10-12 15:59:49 +02:00
w0rp
1a8d596d26 Fix #99 2016-10-12 14:05:03 +01:00
Prashanth Chandra
51b4efd707 Remove vint from Travis 2016-10-12 20:17:13 +08:00
Prashanth Chandra
9a0a663dc1 Move vint to Docker 2016-10-12 20:13:34 +08:00
Prashanth Chandra
210d464442 Use vim-testbed to run Vader tests on Travis 2016-10-12 18:59:18 +08:00
w0rp
5e0f33615e Add a test for aliases too. 2016-10-11 23:52:13 +01:00
w0rp
1d2405f2bc Fix an ale:linters bug, and add a test for it. 2016-10-11 23:48:43 +01:00
w0rp
78bcf96e34 Fix #87 - Allow linter filetypes to be aliased 2016-10-11 23:11:45 +01:00
w0rp
6911696616 Ignore certain files when exporting archives. 2016-10-11 22:18:11 +01:00
w0rp
210a897a82 Remove the title abbreviation 2016-10-11 22:05:12 +01:00
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