summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2016-12-13Implement command chaining. Tests and documentation to come.w0rp
2016-12-13Add a Batch stdin wrapper scriptw0rp
2016-12-08Catch g++ fatal errorAlbert Puig
2016-12-07Skip I0011 messages in pylint.Albert Puig
Ignore 'Locally disabling %s' messages from pylint.
2016-12-06add stylelint supportdiartyz
2016-12-04#200 Make systemverilog files use the verilog linters by defaultw0rp
2016-12-04LaTeX Linters (#190)Andrew Balmos
* Add chktex linter * Alias plaintex to tex * Add lacheck linter Closes #179 * Add the chktex warning code This very useful to have when you want to suppress lint warnings with LaTeX comments. chktex tends to be a bit noisy so this often needed. * lacheck: Make regex less specific To be more robust future changes in `stdin-wrapper`
2016-11-04Take sign information out of the buffer variables, and make it so dummy ↵w0rp
signs are set and removed more reliably.
2016-10-31Improve file blacklisting to make Unite.vim not fuck up.w0rp
2016-10-31Reduce sign column juttering by waiting for all jobs to complete before ↵w0rp
updating everything.
2016-10-27Add pylint formatterKeith Smiley
This customizes the output format of pylint in order to use the same pep8 parser
2016-10-26#144 - Implement commands for moving through warnings/errorsw0rp
2016-10-25Merge remote-tracking branch 'origin/echo-less'w0rp
2016-10-25#148 - Check the cursor position so we don't try to echo too frequently.w0rp
2016-10-24#119 - Stop ALE clearing the echo message when it doesn't need to.w0rp
2016-10-24Merge everything into the one global map.w0rp
2016-10-24Add some comments to some lines to make things clearer.w0rp
2016-10-23#107 Stop jobs when buffers closew0rp
2016-10-23Support loading eslint from node_modules, re issue #118.w0rp
2016-10-21Add support for dot-seperate linters, improve linter testsBjorn Neergaard
This PR first and formost implements support for dot-seperate filetypes, a very trivial change. This closes #132 But more importantly, this PR vastly improves the test quality for `ale#linter#Get`. It enables us to reset the state of ale's internal linter cache, to facilitate better testing, as well as making use of mocked linters instead of depending on linters on disk (which may change). In addition, a dummy linter is defined to test the autoloading behavior. Header guards were removed from all linters as: * A: ale won't try and load linters if they already exist in memory * B: we can't reset state for testing if they can't be loaded again
2016-10-20Add PEP8 handler test.Bjorn Neergaard
2016-10-20Add ansible-lint support and factor out PEP8 handlerBjorn Neergaard
2016-10-20Add support for cppcheck (#126)Bart Libert
* Add support for cppcheck * Fix vint error in cppcheck handler * Add vader test for CppCheck format handler
2016-10-17Make the function for waiting for jobs to complete more reliable.w0rp
2016-10-17Add a function for waiting for linters to complete, and add a test which ↵w0rp
checks that linting updates the loclist.
2016-10-17Make the nearest file search result absolute paths, and add tests to cover it.w0rp
2016-10-17#115 - Make ALE shut up about not being able to load linter files which ↵w0rp
don't exist when it works anyway.
2016-10-16#109 Use norm! instead of norm to solve remapping issues.w0rp
2016-10-14Shut up about there being no autocmd events.w0rp
2016-10-13Add some unit tests for the BinarySearch function.w0rp
2016-10-13Add a unit test for the loclist comparison function.w0rp
2016-10-13#107 - Check if the buffer is gone by looking for a key in the map instead.w0rp
2016-10-13#107 - Handle jobs finishing for closed buffersw0rp
2016-10-13Implement autocommand supportBjorn Neergaard
2016-10-13Make statusline initial updates more elegantBjorn Neergaard
2016-10-13Implement a more efficient statusbarBjorn Neergaard
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-12Fix #99w0rp
2016-10-11Fix an ale:linters bug, and add a test for it.w0rp
2016-10-11Fix #87 - Allow linter filetypes to be aliasedw0rp
2016-10-11Clean and reorganize flags/preferencesBjorn Neergaard
2016-10-11Make HandleUnixFormat Windows-compatibleBjorn Neergaard
2016-10-11Introduce generic unix formatterBjorn Neergaard
Two wrapper functions allow treating lines as errors or as warnings
2016-10-11Use explicit scope in the ale core, as advised by vint -sBjorn Neergaard
2016-10-10#81 - Run commands through the shell on Unix machinesw0rp
2016-10-10Fix cursor bugs.w0rp
2016-10-10First pass at optimizing ale to autoload (#80)Bjorn Neergaard
* First pass at optimizing ale to autoload First off, the structure/function names should be revised a bit, but I will wait for @w0rp's input before unifying the naming style. Second off, the docs probably need some more work, I just did some simple find-and-replace work. With that said, this pull brings major performance gains for ale. On my slowest system, fully loading ale and all its code takes around 150ms. I have moved all of ale's autoload-able code to autoload/, and in addition, implemented lazy-loading of linters. This brings load time on that same system down to 5ms. The only downside of lazy loading is that `g:ale_linters` cannot be changed at runtime; however, it also speeds up performance at runtime by simplfying the logic greatly. Please let me know what you think! Closes #59 * Address Travis/Vint errors For some reason, ale isn't running vint for me... * Incorporate feedback, make fixes Lazy-loading logic is much improved. * Add header comments; remove incorrect workaround * Remove unneeded plugin guards * Fix lazy-loading linter logic Set the wrong variable.... * Fix capitialization