w0rp
16ba9bd680
Fix #680 - Use --shadow-file to check for problems with mypy while you type
2017-06-27 10:06:03 +01:00
John Sivak
539a76c5ae
Change regex to better handle messages with multiple groups of parentheses.
2017-06-25 20:19:39 -04:00
w0rp
1917e9157c
Fix #694 - Ignore BEGIN failed errors for Perl only for certain errors
2017-06-25 21:49:57 +01:00
w0rp
3828ea5b26
Detect .git directories for finding the project root for C projects
2017-06-25 21:33:15 +01:00
Lynn Dylan Hurley
7f6e5dc65b
Add ruby fixer using rubocop --auto-correct
( #689 )
...
* add ruby fixer for `rubocop --auto-correct`
2017-06-25 20:04:14 +01:00
John Sivak
a9b29fef28
Feature/restore display of symbol ( #693 )
...
* Add display of the pylint symbol name after the message.
* Update test to pass.
2017-06-25 18:22:13 +01:00
Jasper Woudenberg
c2f69b7750
Improve elm linter ( #637 )
...
* Improve elm linter
Some types of errors do not return nice JSON.
Show them on the first line instead of showing nothing.
* Remove unnecessary properties from elm linter
* Add a vader test for elm-make linter
* Test non-JSON elm-make errors are shown
2017-06-25 17:12:40 +01:00
w0rp
93473a4101
Fix #690 - Filter out errors from other files for Haskell
2017-06-25 17:08:57 +01:00
w0rp
229a1c092a
#684 Handle tslint errors without the severity included, and use character instead of position for the columns
2017-06-25 16:40:44 +01:00
w0rp
492260c967
Fix the tests harder
2017-06-25 16:20:55 +01:00
w0rp
c2138a2656
Fix the tests for the fix on save feature
2017-06-25 16:14:04 +01:00
w0rp
4eaa990fe8
Fix #684 - Use the JSON format for tslint, for consistency betwen versions, and handling of end line and column numbers
2017-06-25 13:56:51 +01:00
Gagbo
e98560a349
Added builddir option to clang-tidy to point to json folder ( #688 )
...
Detect compille_commands.json files for clang-tidy
2017-06-24 12:38:16 +01:00
w0rp
1ea61162a0
Fix #687 - Check files on enter if they have changed
2017-06-24 12:24:31 +01:00
w0rp
fbf8ccb882
Fix #677 - Ignore errors from other files for cppcheck
2017-06-22 14:08:58 +01:00
w0rp
47401a6eda
Fix the Perl tests in Docker
2017-06-22 13:51:18 +01:00
w0rp
ce2bfa88eb
Fix #676 - Fix handling of Perl errors
2017-06-22 12:37:08 +01:00
w0rp
dab6f39eb0
Fix some escaping and make some tests set filenames consistently
2017-06-21 22:33:34 +01:00
Eric Stern
ab534c2995
Support project's local phpcs installation ( #666 )
...
* Use locally-installed PHPCS if available
* Add author
* Add configuration options
* Escape executable
* Add tests
2017-06-21 21:35:40 +01:00
w0rp
d2806fad60
Fix the standard and xo handlers so they call the eslint function
2017-06-21 11:15:05 +01:00
w0rp
50d952b07d
Print messages about imports used when modules are turned off
2017-06-20 17:38:21 +01:00
w0rp
a105aa90a5
Fix #668 - Support eslint for TypeScript
2017-06-20 10:50:38 +01:00
w0rp
b96f5845ed
Fix #667 - Do not add extra blank lines for add_blank_lines_for_python_control_statements
2017-06-20 09:39:58 +01:00
oaue
b44bd4e24f
handle column number in javac linter ( #660 )
...
* handle column number in javac linter
* Updated tests with column number for javac errors.
* Updated tests with column number for javac errors.
2017-06-19 11:45:09 +01:00
Pavel Kuropatkin
11e17669d3
TSLint: distinguish warnings from errors ( #663 )
...
* TSLint: distinguish warnings from errors
* Test for TSlint warning/error distinguishing code added.
2017-06-18 18:46:34 +01:00
w0rp
629ff513ec
#659 - Add options for Python fixers, and cut down on duplicated documentation
2017-06-18 11:03:31 +01:00
w0rp
f814be45b1
Fix #536 - Implement linter problem type re-mapping
2017-06-14 17:59:13 +01:00
w0rp
c2258e3684
Fix an ansible-lint test
2017-06-14 17:14:04 +01:00
w0rp
e455d8219e
Fix #649 - Support tsserver linting for NeoVim
2017-06-14 17:08:39 +01:00
w0rp
07af1799b1
#430 Use the style sub_type for flake8 problems
2017-06-14 16:40:03 +01:00
w0rp
f6b0a28cba
Split up the flake8 and ansible-lint handlers
2017-06-14 16:20:30 +01:00
w0rp
f472e04b09
#538 - Set some end column indexes for flake8
2017-06-14 10:51:31 +01:00
Ryan
e8cc40b139
Add fusion-lint, documentation, and tests ( #648 )
...
* Add `fusion-lint` for first FusionScript linter
* Add documentation over `fusion-lint`
* Add tests for `fusion-lint` command callback
2017-06-14 09:35:11 +01:00
w0rp
ebbfb64221
Merge branch 'tsserver'
2017-06-13 17:54:07 +01:00
w0rp
aef58f598c
Handle LSP responses for different files more consistently
2017-06-13 17:53:47 +01:00
Steven Humphrey
99263bdda4
Perlcritic column number and rule names ( #640 )
...
* Add column number to perlcritic linting output
This returns the column number of the perlcritic error so that ale can
show the column in addition to the line where perlcritic found an error.
* Add perlcritic configuration for rule names
This adds a configuration setting so that the name of the perlcritic
rule is shown [Rule::Name] after the error message.
This is useful to lookup the rule failure.
* Add a vader test for perlcritic#GetCommand
2017-06-11 21:13:47 +01:00
w0rp
5146332206
Add tsserver support
2017-06-09 09:47:19 +01:00
w0rp
62862c3347
Experimental code for showing results as soon as each linter completes
2017-06-08 17:30:21 +01:00
w0rp
04190cbcfe
#517 Support linter settings needed for LSP, undocumented for now
2017-06-08 13:52:29 +01:00
José Luis Lafuente
1eec446620
Search python fixers in virtual environment ( #632 )
...
* Search python fixers in virtual environment
* Add tests for python fixers
2017-06-07 20:42:30 +01:00
w0rp
f61c6d4c0e
Add support for generating essential tsserver messages
2017-06-07 17:05:34 +01:00
w0rp
7517fd8226
Move all functions for fixing things to autoload/ale/fixers, and only accept the lines of input where needed.
2017-06-07 14:02:29 +01:00
w0rp
edddb1910b
Fix the stylelint tests to match the changes to the handler
2017-06-07 09:29:53 +01:00
w0rp
f30652a98f
Allow ALEFix functions to be defined with only the buffer argument
2017-06-06 23:13:53 +01:00
w0rp
e4d886d4a7
Add a function for computing the number of arguments for a function
2017-06-06 22:27:20 +01:00
w0rp
eeea72e167
Fix #625 Ignore Perl errors from other files
2017-06-06 20:40:07 +01:00
w0rp
7db805b0cd
#482 - Fix Flow handling with relative paths
2017-06-06 20:08:19 +01:00
w0rp
ef86a8a389
Make the test for the history more reliable
2017-06-06 19:54:10 +01:00
w0rp
e88eb6c415
Use BufWinEnter for g:ale_lint_on_enter instead
2017-06-06 17:01:17 +01:00
w0rp
fcc17dffbe
Fix a test
2017-06-06 09:54:17 +01:00
w0rp
1a62e95733
Do not check files on insert leave
2017-06-05 13:55:18 +01:00
Drew Neil
33b0852c84
Add :ALEFirst and :ALELast commands ( #616 )
...
* Add :ALEFirst and :ALELast commands
* Add documentation for ALEFirst and ALELast commands
* Add tests for ale#loclist_jumping#JumpToIndex()
* Fix the loclist jumping tests
2017-06-03 12:45:52 +01:00
w0rp
7c68889bbc
#574 Do not restore items with no columns for highlights from hidden buffers
2017-06-02 19:02:54 +01:00
w0rp
d5ae9b50ea
Fix #499 Set an explicit height for the quickfix list, and make the height configurable
2017-06-01 10:39:21 +01:00
cs86661
81f27a99c8
Set qflist/loclist window title properly ... ( #588 )
...
* Update list.vim
Set qflist/loclist window title properly ...
* Update list.vim
1. Remove redundant code.
2. Get absolute path from 'a:buffer'.
* Set the list window titles appropriately for each version of Vim, and add tests
2017-05-31 22:55:23 +01:00
w0rp
735a6a2a88
Fix #537 - Add support for balloons
2017-05-31 22:04:33 +01:00
w0rp
5e4c302b5b
Fix #557 - Detect C project roots and include root directories with headers, or include directories
2017-05-31 20:01:47 +01:00
Jon Gjengset
88948e0ee3
Include span label in rust lints ( #601 )
...
* Include span label in rust lints
This turns relatively unhelpful error messages like
mismatched types
into more expressive messages along the lines of
mismatched types: expected bool, found integral variable
Fixes #597 .
* Exclude rust lint span label if empty
* Use single-quoted strings in vimscript
* Add test for detailed rust errors
* Prune Cargo JSON
* Use matching error file name
* Byte offsets not char offsets
2017-05-31 18:16:49 +01:00
w0rp
42efd51723
Fix #596 - Report exceptions thrown by flake8
2017-05-31 15:20:12 +01:00
Jon Gjengset
5eb80f03a2
Include location list end column for rust lint ( #602 )
...
* Include location list end column for rust lint
Fixes #599 .
* Include rust lint end_lnum for good measure
* Reverse engineer end_* for rust lint tests
2017-05-31 13:17:04 +01:00
w0rp
ab50b3a88a
Fix #604 - Support highlights spanning many lines
2017-05-31 13:14:39 +01:00
w0rp
676a4049b3
#604 Add a function for creating positions needed for supporting highlights across many lines
2017-05-31 11:20:57 +01:00
w0rp
fd49f7df90
#604 Change match_id to match_id_list, for future highlights spanning more than 8 lines
2017-05-31 10:27:35 +01:00
w0rp
a90cf62995
Run the temporary file management test synchronously, so it will fail less
2017-05-31 10:01:46 +01:00
w0rp
b9f4b0373a
#591 Store buffer variables when fixing filess, and read them back in ale#Var
2017-05-30 22:15:24 +01:00
w0rp
6ec965c8e4
#591 Support fixing files on save
2017-05-30 21:32:51 +01:00
Adrian Zalewski
7ed343965c
Ember-template-lint handler: properly handle template parsing errors.
2017-05-28 21:19:47 +02:00
w0rp
c17346d402
Fix ALEInfo and some test issues
2017-05-27 23:51:27 +01:00
w0rp
aca5a00fb7
Fix #500 - Support defining aliases for linter names
2017-05-27 21:27:42 +01:00
Agata Naomichi
b934dc52b6
Fix file name checking in rust handler ( #581 )
...
* Fix file name checking in rust handler
* Add a test for rust hanler
* Remove unused variable
2017-05-27 00:35:57 +01:00
w0rp
00d3141962
Fix #577 Add an option preventing linting of large files
2017-05-26 21:21:15 +01:00
w0rp
28a62aab28
Fix #316 - Add tests to check the code used for autocmd events. The functions are already tested elsewhere
2017-05-26 17:36:21 +01:00
w0rp
9460e58c3b
Fix #371 Allow ALE to be disabled in different buffers
2017-05-26 16:20:17 +01:00
w0rp
c77cf0e518
#371 Allow buffer variables to be set based on patterns
2017-05-26 15:59:43 +01:00
w0rp
7fe1119cf1
#576 Run the eslint.js file created by React with node on Windows
2017-05-26 10:02:48 +01:00
w0rp
c89587785b
Fix #549 - escape strings more appropriately for use with cmd /c
2017-05-26 00:06:16 +01:00
w0rp
3840cebbc4
Automatically use eslint_d for eslint, when available
2017-05-25 22:34:59 +01:00
w0rp
c31cd12bdd
Simplify the sandbox check, to save on execution time
2017-05-25 17:23:21 +01:00
Nozomu Okuda
43098171ac
Translate pylint output column to 1-based index
...
This should fix #575 ; also added vader tests to ensure that translation
is working properly.
2017-05-24 21:40:06 -06:00
w0rp
1e72a7a130
Add a fixer for Python for automatically adding blank lines before control statements
2017-05-22 12:59:40 +01:00
w0rp
4526018344
Remove the test for highlight linking, because it just cannot be tested
2017-05-22 10:01:41 +01:00
w0rp
71bf2bfb94
Fix #572 - Link to whatever SignColumn links to for ALESignColumnWithoutErrors
2017-05-22 09:34:25 +01:00
w0rp
b67c103d06
#309 Add an option for changing the sign column color when problems are detected
2017-05-21 22:42:27 +01:00
w0rp
3a289dab6b
#318 Do not capitalize the first character for cursor messages
2017-05-21 19:51:34 +01:00
w0rp
23ee0d0992
#149 - Set different highlights for info, style error, and style warning problems
2017-05-21 19:22:48 +01:00
w0rp
57ad32f986
Fix counting of warnings and style warnings
2017-05-21 18:58:26 +01:00
w0rp
ab44d05508
#149 - Support info and style problem types for status lines
2017-05-21 15:37:45 +01:00
w0rp
f92bbab8cf
#149 - Support Info, style error, and style warning types for problems for signs
2017-05-20 23:32:41 +01:00
w0rp
3530180a73
Suggest functions for fixing issues for ALEFix
2017-05-20 19:02:36 +01:00
w0rp
59d9f5d458
Allow b:ale_fixers to be used
2017-05-20 19:02:36 +01:00
w0rp
ed097cfcbd
Allow funcref values and lambdas for ALEFix
2017-05-20 19:02:36 +01:00
w0rp
74691269ce
Run a lint cycle after fixing problems
2017-05-20 19:02:36 +01:00
w0rp
e6b132c915
Fix an off-by-one bug in ALEFix
2017-05-20 19:02:36 +01:00
w0rp
4214832ae2
Remove the code for checking if functions exist. It breaks autoload functions
2017-05-20 19:02:36 +01:00
w0rp
1f4d1800e0
Allow function aliases to be registered for fixing problems, and add some more argument checking for fixing problems
2017-05-20 19:02:36 +01:00
w0rp
0b743389e5
Send modified lines to jobs, not the file contents
2017-05-20 19:02:36 +01:00
w0rp
05bab00c3c
Allow strings to be used for selecting a single fix function for g:ale_fixers too
2017-05-20 19:02:36 +01:00
w0rp
8ebd15a54d
Add commands to run ALEFix, and some tests to cover functionality so far. Add a simple autopep8 function.
2017-05-20 19:02:36 +01:00
w0rp
d012fd1f09
Revert "Fix #556 Remove duplicate error messages from clang++"
...
This reverts commit 164c4efb32
.
2017-05-20 12:57:41 +01:00
w0rp
0646b2861f
Revert " #562 Join split JSON lines together for new Rust output"
...
This reverts commit 5790df1272
.
2017-05-20 12:57:21 +01:00
w0rp
0f0d1709c5
#567 Try and fix NeoVim split line handling
2017-05-20 12:50:19 +01:00
Sander van Harmelen
455793dfd9
Improve performance when using gometalinter ( #566 )
...
* Improve performance when using gometalinter
Before this change when I opened a big project that had 6000+ warnings/errors it took ages to get the actual warnings/errors and it caused my CPU to be busy for quite some time. The call to gometalinter alone took about 24 seconds, but after that vim was struggling as well.
After this change the gometalinter call just takes 2 seconds and nothing noticable happens with the CPU and/or vim.
* Removed obsolete test
This logic is no longer done by the `ale` plugin, but by `gometalinter` itself.
2017-05-20 11:43:28 +01:00
w0rp
bb1f045d59
Merge pull request #564 from adriaanzon/php-end-columns
...
Add end columns on php linter
2017-05-18 09:38:15 +01:00
q12321q
cdf0fb39e5
Add xmllint linter ( #559 )
...
* Add xmllint linter for xml
2017-05-18 09:31:12 +01:00
w0rp
2fd4db91ce
Merge pull request #561 from meunierd/override-rubocop-executable
...
Allow overriding rubocop executable.
2017-05-18 09:19:23 +01:00
Adriaan Zonnenberg
05970e1b28
Add end columns on php linter #538
2017-05-17 21:28:29 +02:00
Adriaan Zonnenberg
6299da7bd3
Break up php tests so the output is easier to read
2017-05-17 21:19:34 +02:00
Devon Meunier
3f926de76b
Escape executable
2017-05-17 08:46:47 -04:00
w0rp
f7fc54262d
Refactor special command parsing into its own file
2017-05-17 11:17:49 +01:00
w0rp
164c4efb32
Fix #556 Remove duplicate error messages from clang++
2017-05-17 10:10:25 +01:00
w0rp
5790df1272
#562 Join split JSON lines together for new Rust output
2017-05-17 09:43:28 +01:00
w0rp
372a4dfd7e
Merge pull request #546 from dawikur/master
...
Add cpplint linter
2017-05-17 09:12:36 +01:00
w0rp
3443994a52
#538 Set some end columns for some eslint problems
2017-05-16 22:57:15 +01:00
w0rp
e2860f8a26
#538 Fix an off-by-one bug with end columns
2017-05-16 19:46:19 +01:00
Devon Meunier
9ca51ed035
Allow overriding rubocop executable.
2017-05-16 14:07:52 -04:00
w0rp
a65358cfce
#538 Suport highlight sizes by looking at end column numbers
2017-05-16 18:12:49 +01:00
Dawid Kurek
9185a0d2e5
Add cpplint linter
2017-05-16 19:09:59 +02:00
w0rp
4c5e97dd1c
Fix #555 - Handle csslint errors without groups
2017-05-15 21:21:09 +01:00
w0rp
78a7df52c0
Clean up linters after running the checkstyle handlers
2017-05-15 20:59:50 +01:00
w0rp
42155049a5
Merge pull request #551 from meunierd/add-checkstyle-linter
...
Add checkstyle linter
2017-05-15 20:58:06 +01:00
w0rp
11a50b2580
Fix #553 - Filter out errors from other files for gometalinter
2017-05-15 20:43:55 +01:00
Devon Meunier
9baae52d1a
Add checkstyle linter
2017-05-15 15:41:04 -04:00
wisut hantanong
3f33dc7d98
Haskell: add ghc-mod linter
2017-05-15 19:46:02 +01:00
w0rp
5a947933d7
Refactor jobs into a Vim version agnostic API which can be used for other purposes
2017-05-12 21:16:15 +01:00
w0rp
2bafdb7e5a
Run all tests in NeoVim, improve the test script, and make all tests pass for NeoVim
2017-05-12 20:38:52 +01:00
w0rp
fa54f7af97
Remove a dependency on eslint, ready for the new Docker image
2017-05-12 09:19:36 +01:00
w0rp
ac707be619
Remove the tests which run C compilers. They are too expensive and difficult to maintain
2017-05-11 00:07:30 +01:00
Adriaan Zonnenberg
4e5a848d95
Merge pull request #533 from pbogut/add_php7_compatibility
...
Add PHP 7 compatibility
2017-05-09 18:34:38 +02:00
w0rp
6ea00af689
#540 Fix shell escaping pretty much everywhere
2017-05-08 22:59:25 +01:00
w0rp
28c6ec9cad
#517 - Implement LSP chunked message parsing, sending messages to sockets, and callbacks
2017-05-08 22:18:28 +01:00
Pawel Bogut
d7bdaeeab0
Read errors from stdout only (and make sure they are displayed)
2017-05-08 21:17:54 +01:00
w0rp
cd79ced839
#517 Implement some LSP message handling
2017-05-07 23:54:14 +01:00
w0rp
ca120088c7
Fix #539 - Just set our highlights again when buffers are shown after being hidden
2017-05-07 19:30:19 +01:00
w0rp
1a157b1cd5
Support python -m flake8
for users who are running flake8 that way
2017-05-07 16:31:33 +01:00
w0rp
4228c503f4
#335 Detect flake8 in vritualenv, and escape the executable path
2017-05-07 16:16:17 +01:00
w0rp
673e36b2ef
Sleep to fix Travis builds
2017-05-06 23:33:38 +01:00
w0rp
a9c5e14fc9
Fix #363 - Detect virtualenv executables and fix import paths for mypy. Use lint_file for mypy
2017-05-06 23:19:54 +01:00
w0rp
702b203c51
Make the nimcheck tests more reliable
2017-05-06 23:06:51 +01:00
w0rp
07bcbd4c06
Escape the pylint executable appropriately
2017-05-06 21:20:02 +01:00
w0rp
f2c9fc403a
Fix #208 - Use the file on disk for pylint, and follow import paths
2017-05-06 19:30:41 +01:00
w0rp
2e1c9b0fa5
#208 Automatically detect pylint in virtualenv directories
2017-05-06 19:11:43 +01:00
w0rp
bf8aae02e8
Fix #534 - Stop other higlights being restored when buffers are hidden and shown again
2017-05-06 16:20:39 +01:00
w0rp
3ecdb52e6c
Make the gobuild tests work better when running them directly
2017-05-06 10:10:24 +01:00
Alexandr
bf0b2cfd84
go build: skip not current buffer ( #531 )
...
* go build: skip not current buffer
* fix gobuild_handler.vader
2017-05-06 10:08:34 +01:00
w0rp
ab9afaa2bf
Add a has() wrapper we can override for tests, and add a function for generating paths up to the root directory to search through
2017-05-05 23:03:19 +01:00
w0rp
6b15c7c9fd
Try and make the sign tests pass more often
2017-05-05 10:36:23 +01:00
w0rp
d1cc1de6a5
Allow the Brakeman tests to be run directly
2017-05-05 10:14:52 +01:00
Eddie Lebow
ba7999dae0
[RFC] Add Brakeman for Ruby on Rails (references #385 ) ( #509 )
...
* Add brakeman for Ruby on Rails
2017-05-05 10:05:53 +01:00
w0rp
c2a0847f99
#502 Parse more undefined symbol errors
2017-05-04 23:34:52 +01:00
w0rp
8e70dc14f2
Fix #502 - Report undefined symbol errors better for javac
2017-05-04 23:19:58 +01:00
w0rp
0aed51565e
Fix #528 remove and restore highlights when buffers are hidden and shown
2017-05-03 23:28:57 +01:00
w0rp
3573975934
Fix #410 - Use compile_commands.json files for clang-tidy, and check files on disk instead
2017-05-02 22:44:08 +01:00
w0rp
eb8bd26776
#392 - Detect and use compile_commands.json for cppcheck
2017-05-02 21:18:17 +01:00
Adriaan Zonnenberg
b0bba34ea2
Rename g:ale_linters_sh_* to g:ale_sh_*
2017-04-30 22:38:28 +02:00
w0rp
6547adcf2f
Run the lint_file checks synchronously, so the tests will consistently pass
2017-04-30 10:09:26 +01:00
w0rp
a6cadaabef
Fix #356 Don't complain about #pragma once in C++ headers
2017-04-30 00:31:52 +01:00
w0rp
2c7d14809d
Set GCC flags appropriately for older versions
2017-04-29 20:00:42 +01:00
w0rp
dfb10f1db2
Merge pull request #519 from AlexMasterov/feature/lua-luacheck-options
...
Add luacheck option to pass in more options
2017-04-29 18:06:55 +01:00
w0rp
6fc3954bd3
Cover the new path functions with some tests
2017-04-29 18:03:08 +01:00
w0rp
0b4acd6453
Fix #518 Fix handling of spaces in filenames for various linters
2017-04-29 17:33:18 +01:00
Alex Masterov
9cea780121
Add luacheck option to pass in more options
2017-04-29 08:58:35 +03:00
w0rp
447917e348
#427 Output buffer variables when buffer numbers are strings
2017-04-27 00:15:16 +01:00
w0rp
6853d2c304
#427 - Output buffer-local variables with :ALEInfo
2017-04-27 00:07:41 +01:00
w0rp
b25dbd6ea5
Fix #506 - Don't set signs for buffers which don't exist
2017-04-26 23:32:20 +01:00
w0rp
5d5ba2a780
#427 Allow linters and aliases to be configured in buffer local variables
2017-04-25 23:52:13 +01:00
w0rp
45c2d6b580
Fixes #361 , fixes #417 Get classpaths from Maven, and automatically detect src/main/java paths
2017-04-25 22:32:48 +01:00
Matthias Günther
c55064881d
Add erb linter ( #497 )
...
* Add eruby linter
* Update README with erb linter
* Fix example and contributions
* Remove trailing newline
* Fix for Vimscript style guide
* Eruby-linter: codereview with @w0rp
- read from stderro output_stream
* Eruby-linter: codereview => add handler for ruby
* Eruby-linter: codereview
- eruby and ruby lint use the same ruby-handler (removes
duplicated handling logic)
* Eruby-linter: try to fix tests
2017-04-25 18:38:02 +01:00
w0rp
a25b55b954
Fix #469 - Remove Unicode quotes from GCC errors, which cause issues
2017-04-24 23:00:43 +01:00
w0rp
a03121f5b0
Break shared handlers up into their own files, and fix stylelint error handling
2017-04-24 22:27:18 +01:00
w0rp
b4c0335ebc
Handle Unix errors with no space after the colon
2017-04-24 21:38:12 +01:00
w0rp
99afe586b3
Simplify some code and format some tests better
2017-04-24 21:11:33 +01:00
w0rp
7fd7630153
Fix #398 - Report problems with the eslint configuration file
2017-04-20 13:07:32 +01:00
Eddie Lebow
0384cabd77
Add the Reek checker for Ruby. ( #490 )
...
Add the Reek checker for Ruby.
2017-04-20 07:37:08 +01:00
Jason Tibbitts
4eeb4783d3
Add rpm spec file linter (rpmlint) ( #486 )
...
* Initial attempt at an rpmlint linter.
* Add some basic documentation.
* Play with indentation in the test file.
* Another attempt to fix the rpmlint test.
* Hopefully this does it.
2017-04-19 23:40:58 +01:00
w0rp
d8dcc56af5
Remove error highlights when buffers are cleaned up
2017-04-19 22:55:06 +01:00
w0rp
bdad25eefd
Add a function for getting matches, and use it to simplify a lot of code
2017-04-18 00:35:53 +01:00
w0rp
e237add9fd
Move path functions to their own file
2017-04-17 23:29:02 +01:00
Rafał Cieślak
2643f9f119
Flow: Fix case where 1st msg points to different file ( #477 )
...
* Flow: Fix case where 1st msg points to different file
* Remove `bufnr` from Flow handler output
* Fix the failing test & add a new one
2017-04-16 11:45:42 +01:00
w0rp
e97dada261
#427 Implement buffer variable overrides for all linter options
2017-04-16 01:24:08 +01:00
w0rp
e80116cee0
#427 Add a function for looking up ALE variables in buffer scope, and then global scope
2017-04-16 00:16:48 +01:00
w0rp
7682fab294
Fix #168 - Make the Fortran linter more configurable
2017-04-15 22:06:56 +01:00
w0rp
d5ccb1a7a1
Merge pull request #474 from jordanandree/add-crystal-lint
...
Add linter for Crystal lang
2017-04-15 11:34:20 +01:00
Adriaan Zonnenberg
8351bdbc06
Add SQL linter sqlint, closes #395 ( #472 )
2017-04-15 11:24:05 +01:00
jordanandree
abdfaaf84f
add crystal lint
...
- invokes via `crystal build` command without codegen
- adds vader tests
2017-04-13 21:33:36 -04:00
w0rp
e2287a42bc
Merge pull request #463 from valtermro/multi-ft-aliases
...
Add support for multiple filetypes in filetype aliasing
2017-04-13 00:02:18 +01:00
w0rp
8afd914c6d
Merge pull request #467 from adriaanzon/php-fix-double-errors
...
PHP: Fix double errors and support fatal errors
2017-04-12 23:58:01 +01:00
valtermro
475dd2e76a
Add support for multiple filetypes in filetype aliasing
2017-04-12 19:47:34 -03:00
w0rp
ceb910e78c
Make some temporary file tests more reliable
2017-04-12 23:17:55 +01:00
Adriaan Zonnenberg
7dbf32d0d7
PHP: Fix double errors and support fatal errors
2017-04-12 23:59:12 +02:00
w0rp
65fe914fb8
#392 Handle clang header errors too
2017-04-11 21:05:41 +01:00
w0rp
b06b832447
#392 Report errors inside of headers, in a very basic way
2017-04-11 20:32:57 +01:00
Brandon Roehl
4e40e8cb60
Add Ruby MRI linter ( #453 )
...
* Added ruby mri linter
* Added to the list of supported linters
* Async and now with 4 spaces
* Vader tests for ruby
* Match style choices
* Vader test for the Ruby handler now works and passes
2017-04-08 11:24:20 +01:00
Shalom Yiblet
cc8eb05860
improved the sml linter ( #445 )
...
* improved the sml linter
* made matching operator agnostic to user settings
* added tests for sml
2017-04-08 11:23:11 +01:00
Adrian
d28d7f732a
Add support for linting Handlebars templates with ember-template-lint ( #452 )
...
* Ember-template-lint Handlebars template linter: initial handler, test.
* Handlebars support with ember-template-lint: basic documentation entries.
2017-04-07 15:38:50 +01:00
José Júnior
4caf273d53
Adds options to foodcritic linter ( #437 )
...
* Adds options to foodcritic linter
Adds a way to pass command line options to the foodcritic command and
documentation about it.
* Creates a simple test for foodcritic command callback
This test simply runs the GetCommand function for the foodcritic linter
and feeds it with some test variables to assert the command line is
being created/escaped correctly.
* Makes foodcritic linter use a command callback
Following review comments, changes the foodcritic linter to use a
`GetCommand` callback for the `command_callback` linter option.
Makes sure that `~` are escaped: flags on foodcritic command line are
negated by adding a `~` in front of the specific cop name:
```
foodcritic -t ~FC011
```
But the way the commands are executed cause foodcritic to fail (since
tilde is recognized as home directory).
* Fixes the doc to include new variables
2017-04-05 18:21:47 +01:00
w0rp
c7bd5cc0ba
Cover handling of swiftlint errors with tests
2017-04-03 23:43:31 +01:00
w0rp
4fc8452838
#447 Support zsh in the shell linter
2017-04-03 22:51:39 +01:00
w0rp
85d86620f7
Cover basic GCC functionality with tests
2017-04-03 22:24:30 +01:00
w0rp
b7c79974bb
#446 Fix g:ale_lint_on_text_changed compatibility issues
2017-04-03 19:04:02 +01:00
w0rp
927ee79026
Update the test suite so it uses the latest Docker image, and use Bourne shell for most tests, so weird shell issues are easier to catch.
2017-04-02 22:57:29 +01:00
w0rp
7c736579b7
Fix #438 Create Java .class files for javac in a temporary directory
2017-03-31 20:14:53 +01:00
Adriaan Zonnenberg
4b0f3257dd
Remove 'col' from linters where it is hardcoded to 1 ( #434 )
...
* Remove 'col' from linters where it is hardcoded to 1
When 'col' is 1, the first column will get highlighted for no reason. It
should be 0 (which is the default).
In the scalac linter there was also a check about the outcome of
`stridx`. It would set l:col to 0 if it was -1, and then it uses
`'col': l:col + 1` to convert the outcome of `stridx` to the actual
column number. This will make 'col' equals 1 when there is no match. We
can remove the check because `-1 + 1 = 0`.
* Remove outdated comments about vcol
vcol was added as a default, and the loclists that follow these comments
do not contain 'vcol' anymore
2017-03-30 23:33:38 +01:00
taylorskalyo
36f9631512
Add options to facilitate linting only in normal mode ( #425 )
...
* [#420 ] Add options to facilitate linting only in normal mode
ale_lint_on_text_changed:
Allow setting to 'insert' or 'normal' to lint when text is changed only in
insert or normal mode respectively.
ale_lint_on_insert_leave:
This flag can be set to 1 to enable linting when leaving insert mode.
* [#420 ] Test updated global options
Ale should
- bind to TextChanged events when g:ale_lint_on_text_changed = 1
- bind to TextChanged events when g:ale_lint_on_text_changed = 'always'
- bind to InsertLeave event when g:ale_lint_on_insert_leave = 1
2017-03-30 23:21:37 +01:00
w0rp
2a88b60ff1
Fix #260 automatically set .csslintrc files from ancestor directories
2017-03-29 00:56:39 +01:00
w0rp
a4220b99a6
Fix #421 Automatically detect create-react-app paths
2017-03-29 00:21:27 +01:00
w0rp
ab3fd2e849
Fix #130 - Run linters when the filetype is changed
2017-03-27 22:40:25 +01:00
w0rp
c9ee3efc11
Enabling linting on save by default, re #333
2017-03-27 20:36:35 +01:00
w0rp
4abefc189c
Cover the rubocop handler with tests
2017-03-27 19:53:12 +01:00
w0rp
a1be697a02
Add a pause for the command chain test
2017-03-27 13:46:48 +01:00
w0rp
5de084557b
Merge branch 'add-dogma'
2017-03-27 12:57:00 +01:00
w0rp
82fde0ea51
Use the same formatting as other files for the dogma linter file, and cover the Handler function with tests
2017-03-27 12:56:54 +01:00
w0rp
8ca82af4ab
Merge pull request #414 from lucaskolstad/add_asm_linter
...
Add support for ASM files using GCC
2017-03-27 12:32:42 +01:00
w0rp
5582711680
Fix #413 Stop tests failing randomly due to issues with reading buffers too quickly
2017-03-26 02:13:21 +01:00
Lucas Kolstad
d84d91ff35
Add support for ASM files using GCC
2017-03-25 16:36:17 -07:00
Lucas Kolstad
b3f6f56745
Fix #272 by checking if quickfix is open before reopening to avoid triggering a BufEnter event that causes quickly repeating linting runs when g:ale_lint_on_enter = 1.
...
Add test assertions that quickfix window closes when lists become empty again.
2017-03-24 10:39:37 -07:00
baabelfish
9f3cdf8270
Fix problems with nim check ( #404 )
...
* Fix problems with nim check
- Multi file errors are not shown in the same buffer
- Fixes parsing of error type that contain ':'
* Remove redundant fnameescape
2017-03-22 09:11:32 +00:00
w0rp
18bae7da2e
#333 Finish implementing the lint_file option
2017-03-21 14:52:02 +00:00
w0rp
c59204b94f
Remove a test for experimental functionality which was removed
2017-03-21 13:58:08 +00:00
w0rp
2d1d6fb850
Add some utility functions for changing directories for commands
2017-03-21 13:09:02 +00:00
baabelfish
297bc8553c
Add support for nim check
2017-03-18 19:45:37 +02:00
w0rp
790c614b7a
#333 Update line numbers for loclist items when current sign_id values are set
2017-03-14 23:04:25 +00:00
w0rp
d19a35485f
#333 Keep any loclist items which have match_id values set on them
2017-03-14 20:26:44 +00:00
Markus Doits
fae26369d4
add slim-lint ( #388 )
...
* add slim-lint
* add slim readme entry
* add slim entry to doc
* add slimlint vader test
2017-03-13 23:21:59 +00:00
w0rp
3f3d8b0014
Merge pull request #393 from naoina/fix-coffeelint-pattern
...
Fix pattern of output for coffeelint
2017-03-13 23:18:06 +00:00
Naoya Inada
e969d97843
Fix pattern of output for coffeelint
2017-03-13 20:09:49 +09:00
w0rp
711ab99362
#333 Remember the IDs for highlights
2017-03-12 22:46:33 +00:00
w0rp
382e569f66
Revert "Don't save the sign ID on loclist items. This approach won't work."
...
This reverts commit f25a543260
.
2017-03-12 22:34:32 +00:00
w0rp
f25a543260
Don't save the sign ID on loclist items. This approach won't work.
2017-03-12 21:48:40 +00:00
w0rp
4bf6784d7d
#333 Save sign IDs back on loclist items, and make it possible to get line numbers again
2017-03-11 20:33:29 +00:00
w0rp
892fff03cc
Cover error priority in the sign tests
2017-03-11 17:39:51 +00:00
w0rp
bd07d04670
Cover parsing of Italian signs with tests
2017-03-10 13:21:08 +00:00
w0rp
3b981e22cc
Fix sign tests.
2017-03-09 22:45:22 +00:00
w0rp
587360e760
Group sign tests
2017-03-09 22:18:45 +00:00
w0rp
3cababc83b
Fix #386 report problems with eslint configuration files
2017-03-09 21:05:00 +00:00
w0rp
ad49846a48
#376 Use the window ID for a given buffer for setting the loclist
2017-03-09 00:43:53 +00:00
w0rp
1c3f0b1e19
#333 Add the List needed for the lint_file option, and option itself. Neither do anything meaningful yet
2017-03-08 00:23:14 +00:00
w0rp
21caf54543
Make the navigation commands only work with ALE's pre-sorted list
2017-03-07 23:31:25 +00:00
w0rp
b3ab89ac15
Make sure to reset linters after running the nix handler test
2017-03-06 23:34:19 +00:00
w0rp
663d8f832f
Group handler test cases in a directory
2017-03-06 23:32:48 +00:00
w0rp
75a2dc5ff5
Complain loudly when other conflicting plugins are installed
2017-03-06 23:15:34 +00:00
Alistair Bill
f659d97504
Add nix handler test cases
2017-03-05 20:36:29 +00:00
w0rp
76df2d393b
Fix detailed messages with newline characters
2017-03-04 23:55:12 +00:00
w0rp
2750c605c1
Fix cursor issues, and clean up the cursor tests
2017-03-03 20:14:03 +00:00
w0rp
da8a0f25cc
Fix the tests again
2017-03-03 19:37:24 +00:00
Jasper Woudenberg
edc5dee226
Merge remote-tracking branch 'upstream/master'
2017-03-02 19:04:28 -08:00
Jasper Woudenberg
f5ddc51d85
Address some feedback
2017-03-02 18:40:07 -08:00
w0rp
969274ccc2
Try and fix issues on Travis
2017-03-03 01:01:24 +00:00
w0rp
0e50a7d278
Fix #373 - echo the cursor message after lint cycles or when leaving Insert mode
2017-03-02 23:36:31 +00:00
Jasper Woudenberg
70711022db
Add support for error details
...
Some review needed.
2017-03-01 23:27:48 -08:00
Adriaan Zonnenberg
6befe9e37c
Fix PHP column matching for unexpected single quotes ( #370 )
...
* PHP: Fix column matching for unexpected single quotes
Unexpected single quotes resulted in an empty match, because PHP
surrounds the errors with quotes, and we check for the next quote to be
the ending delimiter.
For example: an unexpected string 'foo' would be presented as
`unexpected ''foo''`, and then the match would be `''`. The inner part
of that match is an empty string.
This adds a check for the keyword "expecting". Any quote after
"expecting" won't be matched, so we can use greedy matching instead of
non-greedy.
* PHP: Use "very magic"
The pattern started to get unreadable
Also replaced non-greedy matching (`\{-}`) by greedy matching, because
we don't need to match non-greedily anymore and it reads a little nicer.
* PHP: Add tests for column matches
And with that, also a test for unexpected single quotes.
2017-03-01 23:26:03 +00:00
w0rp
ceeff6c723
Fix #288 - Add a command for running ALE
2017-02-28 09:10:58 +00:00
w0rp
b2fe1b2567
Copy all loclist items returned from handlers, and set up defaults for convenience
2017-02-26 14:51:22 +00:00
Jon Parise
c2c6c9f491
Fix Credo's line-matching pattern ( #360 )
...
* Fix Credo's line-matching pattern
In d3e7d3d5
, the line matching pattern was changed to handle filenames
other than `stdin`. Unfortunately, this broke the pattern's ability to
reliably extract both line and column numbers because the latter is an
optional match and the filename portion was very greedy. This resulted
in line numbers being discarded (treated as part of the filename) and
column numbers being interpreted as line numbers.
This change simplifies the pattern to only anchor on the line's suffix,
ignoring the filename portion entirely.
Alternatively, we could use vim's `\f` ("file name characters") class,
but that could still run into problems when `:`'s naturally appear in
the filename.
* Add a Vader test case for the Credo handler
2017-02-22 23:33:05 +00:00
Chris Paul
fef3276f34
escape dot in maker regex ( #357 )
...
* escape dot in maker regex
* Create test_typecheck_handler
* Rename test_typecheck_handler to test_typecheck_handler.vader
2017-02-21 20:32:37 +00:00
w0rp
6a02c5812c
Fix #314 - quickfix should take precedence over loclist for jumping
2017-02-21 12:51:49 +00:00
w0rp
c310080359
#314 filter both lists, and add tests to cover the list retrieval
2017-02-21 12:46:07 +00:00
w0rp
3c4af280f0
Remove a flaky PHP handler
2017-02-21 11:35:37 +00:00
w0rp
3786322cf0
Merge remote-tracking branch 'adriaanzon/php-columns'
2017-02-21 11:34:39 +00:00
w0rp
8eca101fd1
Merge pull request #348 from rob-b/add-hdevtools-linter
...
Add hdevtools linter for haskell
2017-02-21 11:09:15 +00:00
Adriaan Zonnenberg
cca0222cf1
PHP: Make parser work with more error messages
2017-02-18 00:51:33 +01:00
Adriaan Zonnenberg
a18e172a96
PHP: Fix test for column highlighting
2017-02-18 00:04:59 +01:00
Rob Berry
06fe8a043f
Add hdevtools linter for haskell
...
This adds support for the hdevtools haskell linter
https://github.com/hdevtools/hdevtools
The output for hdevtools is near identical to the ghc output so this
also extracts the ghc handler into the handle file and adds tests
* Add testing for previous major release of ghc
2017-02-17 17:18:38 +00:00
w0rp
b21ca4ed4e
Use a more reliable method for getting an ID for a job
2017-02-17 10:19:44 +00:00
w0rp
eac0a41ae1
#254 Add an option for logging the output of commands
2017-02-16 23:18:57 +00:00
w0rp
843370b96f
#254 Capture command exit codes in the history
2017-02-16 22:19:53 +00:00
w0rp
ca17b5aebd
Add an option for completely disabling command history, and add documentation
2017-02-16 21:33:44 +00:00
w0rp
3a2286a1b8
Refactor history management functions into their own file
2017-02-16 21:18:03 +00:00
Rob Berry
c4afd72792
Add hdevtools linter for haskell
...
This adds support for the hdevtools haskell linter
https://github.com/hdevtools/hdevtools
The output for hdevtools is near identical to the ghc output so this
also extracts the ghc handler into the handle file and adds tests
2017-02-16 10:06:48 +00:00
Adriaan Zonnenberg
b2241e991b
Support columns on php handler
...
Also added some tests for different error messages
2017-02-15 23:59:18 +01:00
w0rp
cb60a2c06e
Cover ALEToggle with Vader tests
2017-02-15 21:36:16 +00:00
w0rp
ed370667c8
#254 Add command history to ALEInfo
2017-02-14 23:44:37 +00:00
w0rp
c460602cbb
#338 Try and stop ALE from throwing ALEs when run from a sandbox
2017-02-14 21:02:49 +00:00
Daan van Vugt
68b6be57f1
Update line marker pattern for new gfortran
...
Add tests for GCC 4.1.2, 4.9.2 and 6.3.1
2017-02-14 14:31:31 +01:00
w0rp
f39e88cfa8
#274 - Fix airline integration when ALE is not loaded fully
2017-02-13 23:31:29 +00:00
w0rp
c0814934af
Output ALE global variables for :ALEInfo
2017-02-13 23:15:52 +00:00
w0rp
0589022c76
Include most linter variables in ALEInfo
2017-02-13 22:11:35 +00:00
w0rp
5cdd1498b4
#283 Fix linting buffers with no filename, by creating a filename with a guess for the file extension
2017-02-13 10:36:38 +00:00
w0rp
3aa1d57b57
Fix #171 - Implement basic error highlighting
2017-02-13 00:24:25 +00:00
w0rp
ecbb276805
Replace every stdin-wrapper script with the new %t formatting support
2017-02-11 19:40:57 +00:00
w0rp
c33602534e
Fix Pug linting
2017-02-11 18:49:12 +00:00
w0rp
03ab963d1a
Add support for temporary filename substitution, for replacing stdin_wrapper
2017-02-11 18:14:18 +00:00
w0rp
88192e8662
Add support for managing temporary files/directories
2017-02-11 15:16:08 +00:00
w0rp
49f7ce4f6d
Fix #246 Don't run flow if there's no .flowconfig
2017-02-10 22:47:56 +00:00
w0rp
926cd1a953
Fix #283 Add an option for using ch_sendraw(), which can be better for some users
2017-02-10 19:34:44 +00:00
w0rp
c528ab1eaa
Fix #269 Set $TMPDIR to a default value, if not set
2017-02-10 09:45:42 +00:00
w0rp
5de445c041
Fix #315 Implement the read_buffer option
2017-02-09 23:32:57 +00:00
w0rp
9f8c76b5b9
Make ALE complain when conflicting command options are used
2017-02-09 20:44:13 +00:00
w0rp
b0190fd080
Merge pull request #306 from ahmedelgabri/standardjs
...
Add standard linter
2017-02-09 18:56:40 +00:00
w0rp
df2c6df819
Add a test to cover sign placement after linting
2017-02-07 22:55:23 +00:00
w0rp
c3ebe7bd9e
Cover the Rust handler with some tests
2017-02-07 21:17:10 +00:00
w0rp
a3b7056cad
#289 Only use the --stdin-display-name flag if the flake8 version supports it
2017-02-06 11:12:27 +00:00
Ahmed El Gabri
119695bd08
Add standard linter
2017-02-05 21:19:34 +01:00
w0rp
d953c68ebb
Fix mypy error parsing when column numbers are included.
2017-02-04 19:47:37 +00:00
w0rp
829f87bc6a
Fix #124 Finish implementing command chaining, and make it work for DMD
2017-02-04 18:30:30 +00:00
DiscoViking
a9c650cd05
Add ALEInfo command to get list of available/enabled linters ( #273 )
...
* Add ALEInfo command to get list of available/enabled linters for current filetype
* Add Vader tests for ALEInfo command
* Fix ALEInfo tests breaking CI by echoing too much output to screen
* Speculative change to Makefile which seems to fix test hanging problem locally.
* Fix Vader tests to not require a TTY
2017-01-24 15:50:49 +00:00
EinfachToll
23f8e7ddc5
Fix parsing of currently shown signs with Spanish locale ( #268 )
...
* Fix parsing of currently shown signs with spanish locale
* Add a test for parsing of Spanish signs
2017-01-22 13:40:23 +00:00
w0rp
a37970facd
Clean up the list opening tests
2017-01-22 13:33:16 +00:00
yfery
a23173eeb2
Add option to open loclist/quicklist when there are errors ( #266 )
...
* Add option to open loclist/quicklist when there are errors
I copied PR #137 , and tries to complete it by correcting some issues and
adding vader tests.
About tests, first time with vader, can you give some feedback if there
are what you expected in PR #137 .
* Remove old code + fix indent issue
* add g:ale_keep_list_window_open option
* Correct bug with keep open option
* Add comment into vader file
* Fix errors for Travis CI build
2017-01-22 12:57:05 +00:00
w0rp
9820899b9e
Improve mypy handling a little bit more
2017-01-20 17:30:34 +00:00
EinfachToll
831f783493
Join the lines Neovim passes to ale ( #263 )
...
* Join the lines Neovim passes to ale
Fixes #256
* Refactor line joining into own function
* Add test for line joining
* Fix the test. Sorry.
2017-01-19 20:01:51 +00:00
w0rp
771bfe3b18
#193 Fix a parsing error for parsing errors with eslint
2016-12-22 11:16:22 +00:00
w0rp
8cb9b2ba4e
Make sign parsing testable, and add tests for it against various languages.
2016-12-16 10:01:28 +00:00
w0rp
10777d3421
Add tests to cover definitions for linters so far.
2016-12-13 13:33:19 +00:00
w0rp
614a30a508
Improve file blacklisting to make Unite.vim not fuck up.
2016-10-31 14:47:08 +00:00
w0rp
c546f47cc0
Merge everything into the one global map.
2016-10-24 20:21:42 +01:00
w0rp
7481facd73
#107 Stop jobs when buffers close
2016-10-23 22:41:00 +01:00
w0rp
36461b69d7
Support loading eslint from node_modules, re issue #118 .
2016-10-23 13:04:41 +01:00
Bjorn Neergaard
dc99282f79
Clean up some test filenames and extraneous code
2016-10-22 08:53:28 -05:00
Bjorn Neergaard
f49f615ef6
Add support for dot-seperate linters, improve linter tests
...
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-21 21:02:20 -05: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
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
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
6df632218e
Add a test which checks that we can find the stdin-wrapper script.
2016-10-19 23:26:07 +01:00
Bjorn Neergaard
0e6f406fe0
Add autocommand test
2016-10-17 20:14:21 -05: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
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
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
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
w0rp
217bb5cb40
Improve the output of the tests, and fix the style issue again.
2016-10-12 23:55:09 +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
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