Commit graph

3214 commits

Author SHA1 Message Date
w0rp
02e42feeaa Make the function for waiting for jobs to complete more reliable. 2016-10-17 23:43:31 +01:00
w0rp
bf45ab6d8d Add a function for waiting for linters to complete, and add a test which checks that linting updates the loclist. 2016-10-17 23:26:19 +01:00
w0rp
654a172473 Make the nearest file search result absolute paths, and add tests to cover it. 2016-10-17 21:14:34 +01:00
w0rp
7c2a16e149 Add a test to check that buffer cleanup works. 2016-10-17 20:42:50 +01:00
w0rp
1300fdc84b #115 - Do not use readlink for the DMD wrapper, for Mac compatibility. 2016-10-17 13:03:21 +01:00
w0rp
15df679765 #115 - Make ALE shut up about not being able to load linter files which don't exist when it works anyway. 2016-10-17 11:26:21 +01:00
Łukasz Jan Niemier
27aad958d6 Add linters for Elixir (#113)
* Add Credo linter for Elixir

* Add requested changes

TODO: check if all message types are covered in `if` chain.

* Add information about Credo linter to README

* Add information about Credo linter to doc
2016-10-16 16:44:09 +01:00
w0rp
b07161fe38 #109 Use norm! instead of norm to solve remapping issues. 2016-10-16 16:09:01 +01:00
w0rp
cbc419d51f Fix an issue with a duplicate section in the documentation. 2016-10-16 15:36:41 +01:00
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