Sam Zeng
6efa37d35b
Fixed typo
2019-01-15 23:06:51 +08:00
Pablo Acosta-Serafini
86af4be0d0
Fixed parsing of pydocstyle errors
...
ale#Escape function seems to prepend and append ' to the file name, which
are not present in the pydocstyle output. Having the parsing regexp match
the file name was overkill anyway, since there is an obvious 1:1
correspondence between the buffer number and the (potential) errors
reported by pydocstyle.
2019-01-14 20:36:14 -05:00
w0rp
a50e049e74
Mention raco in the list of supported tools
2019-01-14 20:35:23 +00:00
Anthony Quizon
d09e8bc99e
Racket linting using raco ( #2146 )
2019-01-14 19:45:33 +00:00
w0rp
c0b2090fbb
#2132 Move CreateTemporaryFileForJob calls into FormatCommand
2019-01-12 18:34:26 +00:00
hokorobi
7f176390fc
Support textlint for reStructuredText ( #1978 )
...
* Support textlint for reStructuredText
* Add linter test for textlint rst
2019-01-12 14:40:03 +00:00
w0rp
56b7dca623
Fix flow tests on Windows
2019-01-12 14:36:07 +00:00
w0rp
cbaa7eb3c7
Clean up bingo tests, so they pass on my machine too
2019-01-12 13:14:29 +00:00
w0rp
6644563949
#2132 Remove the need for the hidden add_newline option by tweaking the flow command
2019-01-12 13:14:29 +00:00
w0rp
d8a53cc7a5
Merge pull request #2191 from davidvandebunte/fixCompDbDir
...
bugfix: c.vim: Pull build directory from compilation database
2019-01-10 18:59:13 +00:00
TANIGUCHI Masaya
fabebb3a47
Add textlint for Asciidoc and add it to Fixers ( #2193 )
...
* Add textlint for asciidoc
* Add textlint --fix
2019-01-10 18:53:45 +00:00
w0rp
721183116e
Merge pull request #2194 from fx-carton/fix-cflags-parsing
...
Fix cflags parsing
2019-01-10 11:33:33 +00:00
François-Xavier Carton
7e7447bb93
Cflags: added a test case
2019-01-09 16:53:45 +01:00
François-Xavier Carton
4bbb10b46a
Cflags parser: fix special chars matching algorithm
2019-01-09 16:53:36 +01:00
David VandeBunte
4f72023e16
bugfix: c.vim: Pull build directory from compilation database
...
The LLVM compiler database JSON already includes a directory where the
build was performed:
https://clang.llvm.org/docs/JSONCompilationDatabase.html
Prefer this directory for fixing relative paths in compiler include
arguments in ale#c#ParseCFlags.
Without this change, users cannot create a symlink to their compilation
database as suggested in the LLVM tooling setup instructions:
https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
2019-01-08 19:09:02 -06:00
w0rp
f23811770a
Add briefer help tags for ALE development documentation
2019-01-08 14:40:26 +00:00
w0rp
84475ff6f1
Merge pull request #2189 from jeremija/jeremija/manual-autocomplete-wo-prefix
...
Manually trigger autocomplete even when prefix is ""
2019-01-08 14:27:04 +00:00
Jerko Steiner
b1b05e6e66
Optimize ale#completion#Filter when prefix is ""
2019-01-08 15:10:03 +01:00
Jerko Steiner
9bcf8a2336
Manually trigger autocomplete even when prefix is ""
2019-01-08 12:57:17 +01:00
w0rp
1d7acad891
Merge pull request #2161 from guill/compile_database_perf
...
Improve perf for compile dbs in large projects
2019-01-08 09:29:07 +00:00
Jerko Steiner
0fcd5e79a9
Add ability to manually trigger completion menu ( #2177 )
...
* Add ability to manually trigger completion menu
* Mention :ALEComplete in completion docs
* Add test for ALEComplete
2019-01-07 17:55:55 +00:00
Jacob Segal
cb0a5c7a36
Improve perf for compile dbs in large projects
...
When using a compilation database (compile_commands.json) in very large
projects, significant delays would occur when changing files --
particularly those that happened to be far down the db. Rather than
iterating over the whole list every time, we now build up a lookup table
based on the tail of the filename (and tail of the directory for
widening searches) and iterate over the much smaller list of compile
commands for files with the given name.
Test metrics (from compile_database_perf/test.sh) show a 90% performance
improvement -- from 25 seconds to 2.5 seconds per run.
2019-01-06 00:41:57 -08:00
Jerko Steiner
5bbe77101d
Add support for bingo ( #2165 )
...
* Add support for https://github.com/saibing/bingo
* Add docs for ale-go-bingo
* Use go.mod when found
* Add test for bingo FindProjectRoot
* Simplify ale_linters#go#bingo#GetCommand
2019-01-05 19:12:55 +00:00
w0rp
4f3190daa8
Fix a test on Windows
2019-01-04 14:51:55 +00:00
w0rp
3b96ab43fb
Merge pull request #2176 from altaurog/feat/elm-tests
...
support tests/ with elm 0.19.0
2019-01-04 09:38:10 +00:00
Aryeh Leib Taurog
1f21eb0c42
fallback to elm if elm-tests isn’t available
2019-01-04 09:55:35 +02:00
Aryeh Leib Taurog
4a11a6337e
fix: don’t use regex match
...
windows paths have backslashes, which are special in regex patterns
2019-01-04 09:55:35 +02:00
Aryeh Leib Taurog
ba38688dff
support tests/ with elm 0.19.0
...
With earlier elm versions, a separate package file is maintained for
tests, which when properly configured enabled the compiler to find what
it needed to compile the tests. Under elm 0.19, test dependencies are
managed in the top-level package file, so `elm make` will fail on the
tests. `elm-test make` is required in this case.
See https://github.com/elm-explorations/test/issues/64
2019-01-04 09:55:35 +02:00
Aryeh Leib Taurog
bbf02d837e
test elm-make changes to rootdir when elm.json is found
...
most projects will have an elm.json file (>= 0.19) or elm-package.json (< 0.19)
2019-01-04 09:55:35 +02:00
w0rp
08606b88d0
Clean up the new g:ale_shell code. Use it for Windows
2019-01-03 21:23:09 +00:00
w0rp
7919db0db5
Merge pull request #2167 from stegmanh/master
...
Add support for ale option to override default shell used by ale
2019-01-03 21:01:13 +00:00
w0rp
1b264b8662
Merge pull request #2168 from fx-carton/master
...
Fix CFLAGS & Makefile issues
2019-01-03 20:37:16 +00:00
w0rp
78724f4cd3
Fix some formatting issues
2019-01-03 20:33:59 +00:00
w0rp
a1654cfb58
Merge pull request #1988 from mdtusz/pipenv-black
...
Add support for black usage with pipenv
2019-01-03 20:32:36 +00:00
Holden
5f613a5fd6
change ale to use value of g:ale_shell regardless of what it is
2019-01-02 19:05:51 -05:00
w0rp
1d87c844b0
Merge pull request #2173 from chaucerbao/feature/find-references-line-text
...
Add associated line text on ALEFindReferences results for TypeScript
2019-01-02 22:40:11 +00:00
Alvin Chan
5792bd6e29
Update FindReferences tests
2018-12-31 14:59:50 -07:00
Alvin Chan
f534db1ef9
Replace trim
with substitute
for compatibility (Vim <8.0.1630)
2018-12-31 14:54:36 -07:00
Alvin Chan
24fda01a0e
Add associated line text on ALEFindReferences results for TypeScript
2018-12-31 14:29:42 -07:00
François-Xavier Carton
e5f33c6598
Add a test for cflags merging bug
2018-12-29 12:16:22 +01:00
François-Xavier Carton
f7c4c403eb
Fix CFLAGS parsing
...
Split by space instead of dash.
This prevents incorrect parsing where space-separated arguments are
merged (in particular, .c or .o files were appended to -I or -D
arguments).
Handle shell escape: quotes and escaped quotes \" and shell
substitutions are recognised. This is done by verifying that no special
character (" ' ` ()) has not a matching character.
Fixes #2049
2018-12-29 12:16:22 +01:00
Holden
8550fa6059
fix tests on windows
2018-12-28 12:51:01 -05:00
Holden
3ec20a730d
address PR feedback by fixing docs and hardcoding bash to use -c on fish and pwsh environments
2018-12-28 12:35:57 -05:00
Holden
c499825a0b
add tests for ale_shell option
2018-12-28 11:58:55 -05:00
Miklós Tusz
48057407ec
Fixup tests for auto-pipenv
2018-12-21 20:28:17 -08:00
Miklós Tusz
4bf260e953
Remove unnecessary exe check for black
2018-12-21 20:07:14 -08:00
Miklós Tusz
63e76875d5
Add test for python_black_auto_pipenv
2018-12-21 20:07:14 -08:00
Miklós Tusz
1c9ad77866
Add documentation for python_black_auto_pipenv
2018-12-21 20:07:14 -08:00
Miklós Tusz
6619e1ac53
Add auto_pipenv config for black
...
Added ability to set `python_black_auto_pipenv` to allow for usage
of a local pipenv black executable.
2018-12-21 20:07:14 -08:00
w0rp
73ca1e7191
Merge pull request #2150 from mvgrimes/perl-linter-data-fix
...
Update the perl-linter's l:pattern to catch missing errors
2018-12-20 16:22:10 +00:00