Commit Graph

2481 Commits

Author SHA1 Message Date
ehzShelter
1e83489691 make it less verbose for c and cpp 2016-10-21 20:02:20 +06:00
w0rp
5eee70cf37 Merge pull request #129 from neersighted/ansible
Add ansible-lint support and factor out PEP8 handler
2016-10-21 09:21:50 +01:00
ehzShelter
ce3d79550d Added c++14 standard support and POSIX API compile time linker flags for avoiding annoying errors and warnings 2016-10-21 13:07:51 +06:00
Bjorn Neergaard
c697ef05bb
Add PEP8 handler test. 2016-10-20 22:52:25 -05:00
w0rp
7a06d276c2 #131 Keep the error types in the message for eslint 2016-10-20 18:07:55 +01:00
Bjorn Neergaard
a2e4af1626
Document ansible-lint 2016-10-20 09:27:57 -05:00
Bjorn Neergaard
c34664120b
Add ansible-lint support and factor out PEP8 handler 2016-10-20 09:23:23 -05:00
Bart Libert
a34fb0a6a7 Add support for cppcheck (#126)
* Add support for cppcheck

* Fix vint error in cppcheck handler

* Add vader test for CppCheck format handler
2016-10-20 12:30:45 +01:00
w0rp
acb209aa11 Fix the D error parsing to handle output without column numbers. 2016-10-19 23:42:00 +01:00
w0rp
6df632218e Add a test which checks that we can find the stdin-wrapper script. 2016-10-19 23:26:07 +01:00
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