Commit Graph

1055 Commits

Author SHA1 Message Date
w0rp
c726503acf Correct the order of arguments for AssertEqual in some places. 2016-10-14 20:34:21 +01:00
w0rp
56b866c8d8 Add some tests for the EchoCursorWarning function. 2016-10-14 20:29:31 +01:00
w0rp
1e756c0e24 Shut up about there being no autocmd events. 2016-10-14 19:17:12 +01:00
w0rp
29271f3477 Add eslint to the Dockerfile. 2016-10-13 23:53:17 +01:00
w0rp
f2dba0f487 Add tests to cover common handler functions. 2016-10-13 22:03:31 +01:00
w0rp
a089fabb5c Add some unit tests for the BinarySearch function. 2016-10-13 21:24:47 +01:00
w0rp
f506887b28 Add a unit test for the loclist comparison function. 2016-10-13 20:56:18 +01:00
w0rp
5ca7cc14f3 Ignore more files when archiving. 2016-10-13 20:42:14 +01:00
w0rp
ed44d8a146 #107 - Check if the buffer is gone by looking for a key in the map instead. 2016-10-13 15:21:28 +01:00
w0rp
a8c83a097b #107 - Handle jobs finishing for closed buffers 2016-10-13 15:13:11 +01:00
w0rp
d4e13ca89c Merge branch 'autocmd' 2016-10-13 15:05:52 +01:00
Bjorn Neergaard
3a20587502 Document ALELint autocommand 2016-10-13 15:05:42 +01:00
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