Jose Soto
e1184e31f6
Adds support for Tlint - A Tighten Opinionated PHP Linter ( #3291 )
...
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-11-21 20:29:33 +00:00
w0rp
96428425fe
Merge pull request #2903 from davidtwco/ormolu-fixer
...
Add ormolu fixer.
2020-11-21 20:25:13 +00:00
Dale Jung
2873be2d6a
Add php phpcbf options ( #3383 )
...
* Taken from phpcs. add add_php_phpcbf_options #3382
* Updated docs for php_phpcbf_options #3382
* Added tests #3382
2020-11-21 20:19:02 +00:00
w0rp
d1246ea8d5
Merge pull request #3380 from rgossiaux/patch-1
...
Fix typo in ale-python.txt
2020-11-21 20:17:35 +00:00
w0rp
2e91f0e689
Use has('gui_running') instead of has('gui')
2020-11-21 20:16:32 +00:00
w0rp
a139599d39
Close #2727 - Add a hover-only setting for balloons
2020-11-21 20:12:09 +00:00
w0rp
06e7f2195e
Fix #3332 - Modify everything for rename/actions
...
ALE now just modifies every open buffer for rename and actions, and sets
up a one-time use BufEnter event to reload buffers that are changed so
you don't have to think about what to do with changed buffers.
2020-11-21 19:00:53 +00:00
w0rp
342e5af4e3
Add a missing blank line in documentation
2020-11-21 16:20:02 +00:00
w0rp
e4bfcb44b3
Merge pull request #3357 from creativenull/feat-php-intelephense
...
feat: add intelephense support for php
2020-11-21 16:18:20 +00:00
w0rp
d23c9125c5
Merge pull request #3352 from arthrarnld/patch-1
...
Fix wording in Rust doc
2020-11-21 16:13:24 +00:00
zandr
e5d16caebe
Add luafmt fixer ( #3289 )
2020-11-21 15:59:50 +00:00
w0rp
8e28de142a
Merge pull request #3292 from dmitrivereshchagin/add-elvis-handler-for-erlang
...
Add Elvis handler for Erlang
2020-11-21 15:56:50 +00:00
Dalius Dobravolskas
81d16823a7
Settings to control suggestions.
2020-11-21 15:49:42 +02:00
w0rp
7c04ee5c20
Close #1466 - Add GVIM refactor menu support
...
Code actions and ALERename now appear in the right click context menu
for GVim by default.
2020-11-21 01:18:27 +00:00
Bartek thindil Jasicki
f156548c16
Merge remote-tracking branch 'upstream/master'
2020-11-20 10:11:02 +01:00
w0rp
48fe0dd4f6
Update documentation for code actions and rename
2020-11-14 10:41:51 +00:00
Dalius Dobravolskas
01800a23ad
Support for LSP/tsserver Code Actions ( #3437 )
...
* Added tsserver and LSP code action support.
* tsserver refactors support added.
* Handling special case when new text is added after new line symbol.
* ale#code_action#ApplyChanges simplified.
* Initial attempt on LSP Code Actions.
* workspace/executeCommand added.
* Some null checks added.
* Add last column to LSP Code Action message.
* Pass diagnostics to LSP code action.
Previously ApplyChanges code was applied from top-to-bottom that required
extra parameters to track progress and there was bug. I have changed code
to bottom-to-top approach as that does not require those extra parameters
and solved the bug.
Tested with typescript-language-server and it is working.
2020-11-14 10:15:17 +00:00
toastal
42e4b14861
Merge branch 'master' of github.com:dense-analysis/ale into dhall
2020-11-14 15:03:26 +07:00
pinicarus
db96b00720
Merge branch 'custom-erlc-executable'
2020-11-01 11:45:36 +01:00
cyy
a49f664aea
chang fishindent to fish_indent
2020-10-31 14:01:08 +08:00
cyy
9d1a71a5cb
add doc and test
2020-10-31 14:01:08 +08:00
pinicarus
15f44933c2
feat(erlang/erlc): add option for custom executable
2020-10-28 12:38:28 +01:00
Lyz
513e6ee972
feat: add autoimport fixer
2020-10-23 18:53:38 +02:00
David Wood
b496c4b164
Add ormolu fixer.
...
This commit adds a fixer for the Haskell language, ormolu
(https://github.com/tweag/ormolu ).
Signed-off-by: David Wood <david@davidtw.co>
2020-10-23 11:48:21 +01:00
Will Leinweber
cafe8621e2
Add Ruby sorbet option to enable watchman
2020-10-20 23:13:53 -07:00
Bartek thindil Jasicki
b84d41f9ea
Merge remote-tracking branch 'upstream/master'
2020-10-16 17:51:08 +02:00
w0rp
557a1ed5da
Make the two nearly identical Swift tools easier to distinguish
2020-10-15 22:02:27 +01:00
w0rp
477eb89793
#3332 Implement :ALERename! for ignoring errors
...
:ALERename! now ignores errors for files that cannot be modified, and
modifies all other files.
2020-10-15 21:56:21 +01:00
w0rp
f384d61c3d
Fix sorting of supported tools
2020-10-15 21:24:27 +01:00
ecly
f125c11faa
Update FindProjectRootIni with poetry.lock and pyproject.toml
2020-10-15 13:35:47 +02:00
rgossiaux
9a8ab764d5
Fix typo in ale-python.txt
2020-10-02 22:51:54 -04:00
Bartek thindil Jasicki
bd1b671e82
Merge remote-tracking branch 'upstream/master'
2020-10-02 09:36:32 +02:00
pinicarus
ef145bda1c
docs(erlang/dialyzer): change wording a bit
2020-10-01 19:20:31 +02:00
isaif
7857098cb0
Fix grammatical error in doc
2020-10-01 16:23:49 +05:30
pinicarus
ac3c0c093a
feat(erlang/dialyzer): add custom options passing
2020-09-30 23:16:50 +02:00
Arnold Chand
fec6b63494
feat: add intelephense support for php
2020-09-17 08:06:11 -04:00
Arthur Arnold
63a528eac2
Fix wording in Rust doc
2020-09-14 07:57:22 -03:00
toastal
ed47008710
addressing missing docs + cleaning up older Dhall files
2020-09-14 10:13:11 +07:00
toastal
b32954a46c
Merge branch 'master' into dhall
2020-09-14 08:54:07 +07:00
Bartek thindil Jasicki
1781b1eab0
Merge remote-tracking branch 'upstream/master'
2020-09-11 10:38:36 +02:00
w0rp
4ddf742643
Close #2522 - Check pylint on the fly
...
Newer versions of pylint will now check your code as you type. Older
versions will still only check the file on disk.
Co-authored-by: Oliver Wiegers <oliver.wiegers@gmail.com>
2020-09-09 21:45:15 +01:00
w0rp
7d90ff56d9
Close #3333 - Add an ALECompletePost event
...
Add an `ALECompletePost` event along with everything needed to make it
useful for its primary purpose: fixing code after inserting completions.
* `ALEFix` can now be called with a bang (`!`) to suppress errors.
* A new `ALELintStop` command lets you stop linting, and start it later.
2020-09-08 21:40:10 +01:00
toastal
f07ecbc579
merge master -- apparently someone else added dhall?
2020-09-08 10:08:00 +07:00
Andrew Haust
417761b415
Fix typo
2020-09-07 02:24:39 -04:00
w0rp
c36053d4cc
Close #3268 - Implement :ALEImport
...
A new command, `:ALEImport`, has been added, which lets you import words
at your cursor if a completion provider can provide a completion for
that word which includes some additional text changes.
2020-09-06 22:37:37 +01:00
Dmitri Vereshchagin
49718e0ec6
Add Elvis handler for Erlang
...
[Elvis][1] is an Erlang style reviewer.
[1]: https://github.com/inaka/elvis
2020-09-06 12:40:28 +03:00
w0rp
152b2cb691
Clean up embertemplatelint code
...
Alias ember-template-lint to embertemplatelint so users can use either
string to enable the linter.
2020-09-05 19:06:07 +01:00
Bartek thindil Jasicki
c78be86103
Merge remote-tracking branch 'upstream/master'
2020-09-04 13:46:11 +02:00
Konstantin Alekseev
1462de6685
Run flake8 from project root by default.
...
Option `per-file-ignores` was introduced in flake8 version 3.7.0.
It allows to ignore specific errors in specific files using glob syntax.
For example `per-file-ignores = src/generated/*.py:F401` will
ignore `F401` error in all python files in `src/generated`.
Thus ale has to run flake8 from project root where .flake8 config
is placed otherwise glob won't match linted file.
2020-08-30 22:56:10 +03:00
w0rp
33202a39f5
#2107 - Recommend <C-c> instead, which avoids autocmd functions
2020-08-29 20:45:45 +01:00
w0rp
303bed6ec1
#2107 - Document completion fallbacks and insert-completion trick
2020-08-29 20:40:50 +01:00
w0rp
6e2e51b154
Fix #2971 - Disable automatic completion while 'paste' is active
2020-08-29 17:27:53 +01:00
w0rp
f1ecc2e068
Fix psalm options. Retry on some test failures
2020-08-29 16:31:47 +01:00
w0rp
7e0cdb53ec
Fix #3247 - Use --always-make for make -n by default
2020-08-29 16:05:49 +01:00
Bartek thindil Jasicki
0de847a8e1
Merge remote-tracking branch 'upstream/master'
2020-08-29 10:42:25 +02:00
w0rp
34e409ea21
Close #3285 - lint_file is now dynamic
...
`lint_file` can now be computed dynamically with a callback function,
which can return a deferred result, as per `ale#command#Run`. This
allows linters to dynamically switch between checking files on disk,
or checking code on the fly.
Some tests have been fixed on Windows.
2020-08-28 14:02:05 +01:00
w0rp
b8c0ac2e61
Close #3309 - Add b:ale_lint_delay
2020-08-28 09:54:43 +01:00
w0rp
36e959a466
Add sql-lint to supported tools
2020-08-28 09:25:40 +01:00
w0rp
369e3876f0
#3324 - Enable rls by default
2020-08-28 08:23:10 +01:00
w0rp
6074720dc2
Mention --fast, and document running Windows tests locally
2020-08-27 19:39:16 +01:00
w0rp
5d3d33626c
Merge pull request #3310 from pbrisbin/master
...
Add dhall-format as a Fixer
2020-08-27 13:39:30 +01:00
w0rp
686f42a2e1
Fix a typo
2020-08-27 09:18:10 +01:00
w0rp
c9377e9baf
#3314 - Tell people how to make new plug mappings
2020-08-27 09:17:14 +01:00
patrick brisbin
447aea4af0
Add dhall-format as a Fixer
...
https://github.com/dhall-lang/dhall-lang
2020-08-25 09:34:34 -04:00
w0rp
3e2abe3f25
#2556 - Support modifiers for formatted filenames
2020-08-24 09:33:07 +01:00
w0rp
ba3dd0d027
Close #2556 - Support filename mapping
...
ALE now supports mapping files between different systems for running
linters and fixers with Docker, in virtual machines, in servers, etc.
2020-08-23 19:55:42 +01:00
Bartek thindil Jasicki
62f07d820c
Merge remote-tracking branch 'upstream/master'
2020-08-21 10:39:39 +02:00
w0rp
2b785688ea
#3299 Merge gcc and clang into a cc linter
...
Users can easily be confused when they set some options for a C or C++
compiler, and another compiler is run with different options, which
still reports errors. To remedy this, the existing `gcc` and `clang`
linters have been replaced with a `cc` linter that will run either
compiler.
This is a breaking change for ALE v3.0.0.
2020-08-20 01:49:14 +01:00
w0rp
f8b3a43aab
Merge pull request #3229 from hsanson/3220-enable-languagetool-for-asciidoc
...
Enable languagetool for asciidoctor files.
2020-08-18 23:22:01 +01:00
w0rp
5eda1df0a9
Remove features deprecated in previous versions
2020-08-18 23:03:43 +01:00
w0rp
bc6304bdb0
Merge pull request #3007 from klaaspieter/swift-format
...
Add Apple's swift-format as a linter
2020-08-17 23:37:23 +01:00
w0rp
514e5a8baa
Merge pull request #2940 from davidsierradz/add-markdownlint-options
...
allow passing custom options to markdownlint
2020-08-17 10:21:36 +01:00
Bartek thindil Jasicki
04bd84e914
Merge remote-tracking branch 'upstream/master'
2020-08-14 19:38:09 +02:00
toastal
f1080a2bbe
Dhall language support ( fixes #2820 )
2020-08-14 00:31:47 +07:00
Ben Boeckel
506a8532d0
rust/cargo: add support for a custom target directory
...
This can avoid having to wait for ALE or ALE being blocked on other
cargo actions within the same crate.
2020-08-13 10:22:33 -04:00
w0rp
0b77766337
Merge pull request #3010 from kevinoid/ps1-powershell
...
Alias ps1 filetype to powershell
2020-08-13 13:45:49 +01:00
w0rp
979062235a
Fix #3286 - Fix duplicate tags
2020-08-13 13:44:22 +01:00
Nihad Abbasov
d5912b53dd
Restore old behavior of ALEFix command for Rubocop ( #3237 )
...
* Restore old behavior of ALEFix command for Rubocop
Since RuboCop 0.60 ALEFix command stopped to fix all found offenses. This change restores the
previous behavior by allowing rubocop to fix all detected offenses.
* Fix tests
* Allow to configure auto-correct option for Rubocop
2020-08-12 14:04:54 +01:00
w0rp
9e1f511003
#3276 - Disable make -n by default again
2020-08-09 20:08:42 +01:00
w0rp
affeed7a87
Enable C flag parsing by default
...
The options for parsing `make -n` and `compile_commands.json` flags
are now enabled by default, so people can start getting better flags
for their files by default.
`compile_commands.json` flags are now preferred over `make -n` results,
to make the options work better by default.
2020-08-09 04:23:32 +01:00
w0rp
681ca5fee8
Explain how to use ALE and coc.nvim together
2020-08-09 03:18:21 +01:00
w0rp
6d502233d8
Close #3267 - Add a general autoimport setting
2020-08-09 02:32:47 +01:00
w0rp
8bfb5c6407
Merge pull request #2849 from DonnieWest/excludeTsserverWarnings
...
Allow the user to remove warnings from completions
2020-08-09 01:32:27 +01:00
Bartek thindil Jasicki
973c4ea053
Merge remote-tracking branch 'upstream/master'
2020-08-07 17:43:11 +02:00
w0rp
19229e8e27
Close #2472 - Add support for pyright
2020-08-07 12:16:13 +01:00
w0rp
4044196047
#2804 Add hdl-checker to supported tools
2020-08-06 13:24:20 +01:00
Andre Souto
5b3da60cea
Adds hdl_checker LSP support ( #2804 )
...
* Added hdl_checker support
* Added hdl_checker tests
HDL Checker searches for files when no config file is found, which could lead to very long searches when the user is not really on a project setting
2020-08-06 13:20:54 +01:00
w0rp
86d5cb81bd
Use more American English
2020-08-04 20:11:49 +01:00
w0rp
acf892c4d1
#1532 - Display hover information on CursorHold
2020-08-04 20:11:49 +01:00
Bartek thindil Jasicki
9a9d12cf4f
Merge remote-tracking branch 'upstream/master'
2020-07-31 07:56:28 +02:00
Horacio Sanson
fc7b4585e6
Merge pull request #3246 from lgmsantos/patch-1
...
Update ale-java.txt
2020-07-31 08:16:11 +09:00
Josh Reichardt
72f1d730fd
Typo
2020-07-30 09:00:20 -05:00
Horacio Sanson
5338dbf680
Merge pull request #3231 from jhlink/add-astyle-for-c-formatting
...
Add astyle for C/C++ formatting
2020-07-29 22:08:46 +09:00
jhlink
5377272d20
fix: Change _options to _project_options
2020-07-28 19:48:27 -04:00
jhlink
028485b4de
doc: Add ale_cpp_astyle_options in ale-cpp
2020-07-26 21:22:17 -04:00
jhlink
c38b2a6524
doc: Add ale_c_astyle_options in ale-c
2020-07-26 21:21:38 -04:00
jhlink
f26b2e7f01
doc: Add astyle to ale-cpp-options in ale.txt
2020-07-25 20:38:15 -04:00
jhlink
9316b7b3f2
doc: Add astyle to c++ in supported lang & tools
2020-07-25 20:38:09 -04:00
jhlink
a2d172c457
doc: Add astyle to ale-cpp
2020-07-25 20:32:06 -04:00
Luiz Gustavo
9fe208a01f
Update ale-java.txt
2020-07-25 02:32:10 -03:00
Bartek thindil Jasicki
e06060a31f
Merge remote-tracking branch 'upstream/master'
2020-07-24 10:38:29 +02:00
w0rp
f31182beee
Merge pull request #3060 from hsanson/345-update-javalsp-documentation
...
Fix 345 - update java language server docs.
2020-07-21 12:48:57 +01:00
w0rp
f4668c751f
Merge pull request #3070 from hsanson/2732-add-bashate-support
...
Fix 2732 - Add bashate support
2020-07-21 12:47:33 +01:00
Sheheryar Parvaz
23c58e63d4
Support zls language server for zig
2020-07-10 22:33:37 -04:00
jhlink
57423f13ec
style: Adjust spacing
2020-07-10 18:59:29 -04:00
jhlink
56b92544c2
doc: Add astyle to supported lang & tools
2020-07-10 18:16:12 -04:00
jhlink
8c0b9ecdfd
doc: Add astyle to ale-c-options in ale-contents
2020-07-10 17:56:02 -04:00
jhlink
4394084d99
doc: Add astyle entry to ALE c integration
2020-07-10 17:54:27 -04:00
Horacio Sanson
c136061b3f
Enable languagetool for asciidoctor files.
2020-07-09 10:46:33 +09:00
Bartek thindil Jasicki
0f45d3d01d
Merge remote-tracking branch 'upstream/master'
2020-07-02 10:11:30 +02:00
Horacio Sanson
4f25498806
Merge pull request #3172 from 0xMH/patch-1
...
More docs for beginners to use cloudformation linter
2020-06-19 22:26:45 +09:00
Bartek thindil Jasicki
a5e7f2c8bb
Merge remote-tracking branch 'upstream/master'
2020-06-07 09:26:06 +02:00
Paco
7265ceb6d0
Support revive for go files ( #2933 )
...
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2020-05-22 06:09:14 -05:00
NiBo
0b5d72fecd
refactor(javac): ale_java_javac_sourcepath variable defaults to String
2020-05-19 11:25:54 +08:00
NiBo
e61e1147b0
refactor(javac): ale_java_javac_classpath variable supports String and List types
2020-05-19 10:43:16 +08:00
NiBo
ff6bfc3d37
refactor(javac): ale_java_javac_sourcepath variable supports String and List types
2020-05-19 10:41:35 +08:00
NiBo
3b4193175e
feat(javac): Add java_javac_sourcepath variable
...
This variable can set multiple source code
paths, the source code path is a relative
path (relative to the project root directory)
2020-05-15 10:48:03 +08:00
Mohamed hamza
6b8f08f7fc
Added linter installing methods
2020-05-15 03:40:46 +02:00
Horacio Sanson
69d96aa9d9
Merge pull request #3077 from puritys/javaagent
...
To support javaagent on eclipselsp
2020-05-15 10:12:25 +09:00
NoNE
345daf683b
More docs for beginners to use cloudformation linter
2020-05-15 00:35:15 +02:00
Horacio Sanson
c2b01f0e28
Merge pull request #3134 from Ian2020/master
...
Add shellcheck as linter for bats files
2020-05-09 11:24:55 +09:00
RyanSquared
70005134e5
Merge branch 'rust-analyzer' of https://github.com/jonhoo/ale into jonhoo-rust-analyzer
2020-05-05 09:21:49 -05:00
Klaas Pieter Annema
2548763d04
Add Apple's swift-format as a linter
2020-04-29 14:33:13 +02:00
Ian2020
d4e1c57026
Moved common code to ale handlers, updated bats doc
2020-04-28 17:46:15 +01:00
Ian2020
76cd6b0f92
Fix documentation oversights
2020-04-28 16:02:46 +01:00
Ian2020
47d941b491
Add shellcheck as linter for bats files
2020-04-24 11:39:45 +01:00
Jeffrey Lau
60d683da3b
Add vim-language-server linter support
2020-04-21 02:29:22 +08:00
Oliver Ford
36b50058bb
Add terraform-lsp integration ( #2758 )
...
* Add terraform-lsp integration
https://github.com/juliosueiras/terraform-lsp
* Add tests & docs for terraform-lsp integration
terraform_langserver_options setting added to send custom flags to
terraform-lsp.
Vader tests have been added to test custom executable, custom flags, and
finding the project root. All tests pass.
Initial documentation has been added for the above.
Resolves dense-analysis/ale#2758 , juliosueiras#57
* Fix tag alignment
Co-authored-by: = <Aubrey.S.Lavigne@gmail.com>
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-04-20 16:02:31 +01:00
w0rp
82f734a7c2
Closes #3019 - Implement default navigation
...
Default navigation for commands that jump to new locations has been
implemented with the `ale_default_navigation` variable, and all commands
that jump to locations now support `-tab`, `-split`, or `-vsplit`
arguments for overriding the default navigation behavior.
2020-04-15 16:50:13 +01:00
Jon Gjengset
6087765cad
Move to rust-analyzer everywhere
2020-04-09 13:23:03 -04:00
puritys
852a6a1753
Fix code convention
2020-03-26 08:14:06 +00:00
puritys
fa19bca80e
To support javaagent on eclipselsp
2020-03-26 06:40:07 +00:00
Horacio Sanson
7b9855f1fe
Fix 2732 - Add bashate support
2020-03-23 12:18:35 +09:00
Horacio Sanson
c2aa01199e
Fix 345 - update java language server docs.
2020-03-19 18:00:13 +09:00
w0rp
bbe5153fcb
Fixes #2982 - Implement g:ale_exclude_highlights
...
Particular highlights can now be excluded by providing Lists of regular
expressions.
2020-03-11 12:52:41 -04:00
w0rp
634c81fd46
Mention using 'hidden' in combination with ALEGoToDefinition
2020-02-25 13:50:44 +00:00
Kevin Locke
8c0b0f085f
Alias ps1 filetype to powershell
...
Rather than requiring users to alias ps1 to powershell themselves,
include it in s:default_ale_linter_aliases. Since [vim-ps1] is a
popular (the only?) PowerShell ftplugin and there do not appear to be
any other uses of ft=ps1 on vim.org, this seems like a safe and
reasonable default.
[vim-ps1]: http://www.vim.org/scripts/script.php?script_id=1327
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-02-16 14:03:41 -07:00
w0rp
8c4c8dfd97
Fix #2704 - Show mypy notes; can be disabled
2020-01-02 14:19:21 +00:00
w0rp
874c98b96d
Make it more obvious you can use popup in completeopt now
2020-01-01 18:49:01 +00:00
w0rp
8148a67b37
Documented g:ale_hover_to_preview
2020-01-01 18:25:04 +00:00
davidsierradz
0cea55924b
allow passing custom options to markdownlint
2019-12-19 13:11:25 -05:00
Jon Gjengset
715733f44d
Fix Rust linter/fixer listing
2019-12-11 12:02:18 -05:00
w0rp
b91d82bfaa
Merge pull request #2847 from DonnieWest/allowUserToCustomizeItems
...
Allow user to customize items
2019-11-15 09:34:24 +00:00
w0rp
9005a62dc2
Clean up the nimpretty code
2019-11-14 14:50:21 +00:00
w0rp
7665559d0e
Merge pull request #2660 from YPCrumble/master
...
Add StandardJS linter for TypeScript
2019-11-14 14:47:19 +00:00
Donnie West
e2a67812de
Add tagged entry for symbols to documentation
2019-11-08 16:44:05 -06:00
Donnie West
977921461d
Add documentation for ale-symbols feature
2019-11-08 16:44:01 -06:00
Donnie West
4222f32cc4
Include documentation item for removing warnings
2019-11-08 16:41:39 -06:00
Donnie West
db5fe5659f
Allow the user to remove warnings from completions
2019-11-08 16:41:37 -06:00
Bartek Jasicki
f63fd23f2e
Update doc/ale-ada.txt
...
Co-Authored-By: timlag1305 <timlag1305@gmail.com>
2019-11-05 17:59:51 +01:00