w0rp
b8be25adb4
Remove redundant spaces.
2018-06-20 22:44:56 +01:00
w0rp
d7efb13203
Try to fix the tests on Windows
2018-06-20 22:41:19 +01:00
Jeroen Ruigrok van der Werven
f14e3bb109
Update test to match update to linter
...
Also make lnum and col proper strings, since that is how it is matched
by the regexp, ALE handles the conversion to number.
2018-06-20 15:29:26 +02:00
Jeroen Ruigrok van der Werven
b7db095221
Make CloudFormation linter work again with latest
...
- Fix regexp
- Get rid of +0 since ALE does a str2nr() on lnum and col
- Put all matches in numerical order for easier maintenance
2018-06-20 14:59:51 +02:00
w0rp
0e1528ec34
Set up most of the autocmd events in one group
2018-06-20 13:35:57 +01:00
w0rp
9674132933
Remove CallWithCooldown functions to save on time
2018-06-20 08:34:42 +01:00
w0rp
82ea36576c
Move ClockMilliseconds to events, so fewer files are loaded some times
2018-06-19 20:53:49 +01:00
w0rp
fd261d7a17
Move the initialization of augroups to then events file
2018-06-19 20:31:58 +01:00
w0rp
3a5887df2c
Remove a redundant variable in tests
2018-06-19 20:12:49 +01:00
w0rp
e306e5cdb0
Avoid calling ALE cleanup code if ALE never tried to check a buffer
2018-06-19 20:12:33 +01:00
Alvin Chan
b8a1038a41
Set --parser
option in Prettier's fixer ( #1620 )
...
* Set `--parser` option in Prettier's fixer
* Add expected `--parser` option to tests
* Disable Prettier `--parser` detection if file extension exists
* Manually default Prettier `--parser` to "babylon"
* Add `--parser` test for TypeScript
* Add tests for Prettier `--parser`
* Add JSON5 to the suggested fixer for Prettier
2018-06-18 22:40:57 +01:00
w0rp
43ce8d7610
Merge pull request #1653 from chaucerbao/feature/js-tsserver-support
...
Add TSServer support for JavaScript files
2018-06-17 22:14:12 +01:00
w0rp
24fe195311
Merge pull request #1650 from yasuhiroki/support-cfn-python-lint
...
Add linter for AWS CloudFormation template file
2018-06-17 20:39:07 +01:00
w0rp
49a5d657ee
Tell people that there's no cost for LSP support if they don't need it
2018-06-15 10:24:09 +01:00
w0rp
bda89506ba
Lazy-load LSP linters, and check b:changedtick before notifying about changes
2018-06-15 10:01:28 +01:00
Alvin Chan
bd4da116ee
Add TSServer support for JavaScript files
2018-06-13 17:37:20 -07:00
yasuhiroki
eabf5d55d6
Add end_lnum and end_col in cfn_python_lint handler
2018-06-13 09:11:14 +09:00
P M
f1b72218c3
Add support for qmlfmt fixer ( #1651 )
...
* Add support for qmlfmt fixer
2018-06-12 19:38:16 +01:00
w0rp
5283faa511
Try speeding up Travis builds with a generic environment
2018-06-12 19:31:44 +01:00
w0rp
87455a2ef4
Add a test for handling missing detail keys for LSP completion
2018-06-12 19:31:08 +01:00
w0rp
d9746a4572
Merge pull request #1638 from ssiegel/use-vanilla-rscript
...
Use --vanilla switch for Rscript
2018-06-12 19:01:45 +01:00
yasuhiroki
ae25d71fa8
Add linter for AWS CloudFormation template file
2018-06-12 15:11:53 +09:00
w0rp
22a9dcd03e
Merge pull request #1640 from docwhat/pr/lsp-handle-missing-details
...
lsp: handle missing "detail" key
2018-06-11 21:33:49 +01:00
Christian Höltje
fd7456fce0
lsp: handle missing "detail" key
2018-06-07 13:43:08 -04:00
Colby Dehart
864818a385
WIP cd to project path
2018-06-07 11:47:57 -05:00
Colby Dehart
f0f569f14a
added test for command callback
2018-06-07 10:09:08 -05:00
Stefan Siegel
42192c1593
Adapt test to also use Rscript --vanilla
2018-06-07 15:56:14 +02:00
Stefan Siegel
252097bee0
Use --vanilla switch for Rscript
...
This prevents possibly bad interference with the user's R environment,
e.g. by an auto-activating packrat.
2018-06-07 15:06:09 +02:00
w0rp
10a9177b6b
Merge pull request #1636 from zed0/master
...
#1635 - Use the project base rather than its parent for cquery
2018-06-07 07:23:44 +01:00
Ben Falconer
d1be72f438
#1635 - Use the project base rather than its parent for cquery
2018-06-07 00:12:38 +01:00
w0rp
67753de531
Merge pull request #1632 from zed0/master
...
Add the cquery LSP
2018-06-06 21:31:36 +01:00
Ben Falconer
20db9ab719
Add the cquery LSP #1475 #1594
2018-06-06 17:58:47 +01:00
Ben Falconer
641c0c797b
Pass rootUri to LSPs in addition to rootPath
2018-06-06 17:53:36 +01:00
Ben Falconer
1a4b08539b
Allow initialization options to be passed to language servers
2018-06-06 17:53:36 +01:00
w0rp
c49ea1a5e3
Merge pull request #1629 from elebow/pipenv-executable-python-tools
...
Allow all Python linter executables to be set to `pipenv`.
2018-06-05 08:32:45 +01:00
w0rp
3a6a92283e
Merge pull request #1628 from rmorabia/patch-1
...
Readme Typo: TypeSript -> TypeScript
2018-06-05 07:12:53 +01:00
Eddie Lebow
ca88e67af0
Allow all Python linter executables to be set to pipenv
.
...
It appends ` run {linter_name}`, analogously to the Ruby linters when
the executable is set to `bundle`
2018-06-05 00:33:26 -04:00
Radhika Morabia
b3da52d38d
Typo: TypeSript -> TypeScript
2018-06-04 20:22:53 -07:00
w0rp
5addd3abef
Merge pull request #1627 from budziq/master
...
Added linting of tests and examples for rust cargo linter
2018-06-04 13:33:08 +01:00
Michał Budzyński
e272207114
Allow linting rust tests and examples with cargo
2018-06-04 11:08:49 +02:00
w0rp
4ec661b305
Merge pull request #1623 from zoonfafer/scalafmt-fixer
...
Add 'scalafmt' fixer for Scala files
2018-06-03 19:12:09 +01:00
Jeffrey Lau
03d14324ea
doc/scalafmt: Remove wrong bits on initial "enabledness" of fixers
2018-06-04 02:05:19 +08:00
w0rp
a8bbf49a31
Merge pull request #1625 from elebow/flake8-pipenv-run
...
Allow flake8 executable to be set to `pipenv`.
2018-06-03 18:52:15 +01:00
w0rp
0db12702f3
Respect warn_about_trailing_whitespace for gitlint
2018-06-03 10:46:39 +01:00
Eddie Lebow
dd642b117c
Allow flake8 executable to be set to pipenv
.
...
It appends ` run flake8`, analogously to the Ruby tools when the
executable is set to `bundle`
2018-06-02 21:49:12 -04:00
Jeffrey Lau
77d0ac58ed
Add 'scalafmt' fixer for Scala files
...
closes https://github.com/w0rp/ale/issues/1299
2018-06-03 04:40:52 +08:00
Colby Dehart
81739be0a0
handled temp file and env variable correctly; added tests
2018-06-02 13:03:56 -04:00
w0rp
786fc0a62f
Merge pull request #1617 from luitzifa/master
...
Fix for puppet version >= 5.4.0
2018-06-02 12:36:24 +01:00
w0rp
014d27c882
#1621 - Tolerate SetOptions calls when ALE is loaded in a weird way
2018-06-01 21:03:22 +01:00
Colby Dehart
d760558007
added mix build path env var to the mix compile
2018-06-01 11:56:47 -04:00