Commit Graph

271 Commits

Author SHA1 Message Date
w0rp 62195b7a68 Merge pull request #108 from neersighted/autocmd2
Add autocommand test
2016-10-19 22:44:00 +01:00
w0rp 9e4d7c1b9d Fix some Vint problems. 2016-10-19 22:21:39 +01:00
w0rp f8f24854e3 Fix how the Makefile checks the image ID. 2016-10-19 22:21:00 +01:00
w0rp 492995614b Merge pull request #123 from jparoz/master
Added support for hlint
2016-10-19 13:53:26 +01:00
Jesse Paroz 5831e932e0 Added support for hlint 2016-10-19 22:27:03 +10:00
w0rp a2b7bbc8f2 Add an ID into the Makefile so running tests locally will use the most up to date Docker image. 2016-10-18 12:48:45 +01:00
Bjorn Neergaard 0e6f406fe0
Add autocommand test 2016-10-17 20:14:21 -05:00
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