Linda_pp
f57ad883f2
Add support for cargo clippy
( #2001 )
...
* Add support for `cargo clippy`
* Add tests for cargo-clippy support
* Add an example to doc for how to configure ale_rust_cargo_use_clippy
2018-10-22 09:21:48 +01:00
ix5
b8359c1114
Allow custom executable for ansible linters ( #1977 )
...
* Allow custom executable for ansible linters
* Add ansible-lint tests
* ansible-lint: simplify linter command
* Rename linter "ansible" to "ansible_lint"
* Add ansible-lint options to documentation
* Add alias ansible-lint for ansible_lint
2018-10-18 09:19:27 +01:00
w0rp
3b38a83ae9
Tell people to turn the completion option on before loading ALE
2018-10-18 09:11:06 +01:00
Auri
be21aa5cda
New linter: dls ( #1992 )
...
* New linter: dls
2018-10-17 16:11:41 +01:00
w0rp
d999eb1f35
#1970 Explain how to configure mouse hovering better
2018-10-15 18:01:49 +01:00
Aliou Diallo
b7ec11c93d
Allow custom filters for the jq fixer ( #1980 )
...
* Allow the jq filters to receive custom filters.
* Update documentation.
2018-10-12 09:15:32 +01:00
Jon Parise
7eae781291
Add elixir-ls language server support
...
ElixirLS (https://github.com/JakeBecker/elixir-ls ) is an LSP server for
Elixir. It's distributed as a release package that can be downloaded
from https://github.com/JakeBecker/elixir-ls/releases or built locally.
The easiest way to start it is via Unix- and Win32-specific helper
scripts, so that's the basis of this command integration. Alternatively,
we could implement the contents of those platform-specific scripts in
the linter's command callback in a language-neutral way, but there isn't
any benefit to doing that aside from eliminating the platform check, and
that could prove to be too tight of a coupling going forward.
2018-10-11 08:31:12 -07:00
Travis Gibson
2b2e766dc6
Add Perl6 support via 'perl6 -c'
2018-09-28 16:18:40 -07:00
Evan Borden
a8915d885b
Add better support for Haskell stack compiler tools ( #1851 )
...
* Add better support for Haskell stack compiler tools
This commit adds support for `stack` as the executable of a tool. This
follows a pattern that has been implemented for `bundler`'s tool chain.
* Move hlint command to linter file
* Add vader test for stack exec handling
* Update ghc-mod to support stack execution
`ghc-mod` was previously broken into 2 linters.
1. ghc_mod
2. stack_ghc_mod
This additional linter is not necessary with proper support for
executable variables and `stack exec` handling.
* Support stack exec in hfmt
* Support stack in hdevtools
2018-09-28 09:05:01 +01:00
w0rp
a26b3319a1
Merge pull request #1950 from yejingchen/ccls
...
Add ccls support for C/C++/ObjC
2018-09-28 09:02:00 +01:00
w0rp
fd0467f992
Merge pull request #1917 from jpsouzasilva/fix-stylelint-scss
...
Support options when using Stylelint with SCSS
2018-09-27 16:54:17 +01:00
Richard Marmorstein
947360f714
Add psalm linter for PHP ( #1893 )
2018-09-27 16:48:47 +01:00
Ye Jingchen
626e47f5c9
Add ccls tests
2018-09-26 22:50:43 +08:00
w0rp
58ceb21cbc
Merge pull request #1908 from KtorZ/master
...
Allow extra options to be passed to haskell:hlint
2018-09-26 15:38:15 +01:00
Ye Jingchen
56658fd3ad
Add ccls support for C/C++/ObjC
2018-09-26 20:09:37 +08:00
w0rp
143c3cd09f
#1941 Explain how to alleviate a timeoutlen Vim bug by changing settings
2018-09-25 10:17:45 +01:00
Eddie Lebow
a59f5776fa
Fix typo in Solargraph documentation
2018-09-19 21:59:15 -04:00
w0rp
169a6e26b2
Merge pull request #1719 from elebow/auto-pipenv-option-for-python-linters
...
Add python_[linter]_auto_pipenv options for python linters (fixes #1656 )
2018-09-19 19:46:13 +01:00
Martin Tournoij
e82bcdb8a6
Add fixer for Go modules ( #1873 )
...
* Add fixer for Go modules
2018-09-19 19:33:23 +01:00
Devon Meunier
4025030d86
Solargraph stdio
2018-09-18 11:20:29 -04:00
KtorZ
d84fcf6c3c
Define custom vim global variables to pass options to hlint
2018-09-18 08:25:41 +02:00
Jon Parise
b7fcec4d17
thrift: default thrift_thrift_includes to ['.']
...
In a lint context, it's useful to assume that included files sit next to
the current file by default. Users can still further customize this
configuration variable to add more include paths.
2018-09-16 08:21:18 -07:00
Eddie Lebow
dbe9352935
Add python_auto_pipenv
config var for all python linters.
...
This allows a user to set one variable instead of eight.
2018-09-15 22:10:46 -04:00
Eddie Lebow
56e67c5811
Add python_[linter]_auto_pipenv options for python linters ( fixes #1656 )
...
When set to true, and the buffer is currently inside a pipenv,
GetExecutable will return "pipenv", which will trigger the existing
functionality to append the correct pipenv arguments to run each linter.
Defaults to false.
I was going to implement ale#python#PipenvPresent by invoking
`pipenv --venv` or `pipenv --where`, but it seemed to be abominably
slow, even to the point where the test suite wasn't even finishing
("Tried to run tests 3 times"). The diff is:
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index 7baae079..8c100d41 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -106,5 +106,9 @@ endfunction
" Detects whether a pipenv environment is present.
function! ale#python#PipenvPresent(buffer) abort
- return findfile('Pipfile.lock', expand('#' . a:buffer . ':p:h') . ';') isnot# ''
+ let l:cd_string = ale#path#BufferCdString(a:buffer)
+ let l:output = systemlist(l:cd_string . 'pipenv --where')[0]
+ " `pipenv --where` returns the path to the dir containing the Pipfile
+ " if in a pipenv, or some error text otherwise.
+ return strpart(l:output, 0, 18) !=# "No Pipfile present"
endfunction
Using vim's `findfile` is much faster, behaves correctly in the majority
of situations, and also works reliably when the `pipenv` command doesn't
exist.
2018-09-15 22:10:46 -04:00
w0rp
7f1c411b5e
Merge pull request #1850 from rrosenblum/ruby_linters
...
Update all Ruby linters to work consistently with bundler
2018-09-14 13:27:07 +01:00
w0rp
43d7e8fde9
#1889 Add support for automatically previewing messages based on the cursor position
2018-09-14 12:42:26 +01:00
jpsouzasilva
5901e1a879
Support options when using Stylelint with SCSS
...
Complement missing documentation
2018-09-13 08:51:33 -03:00
Ryan Rosenblum
9e09b7ca35
Update all Ruby linters to work consistently with bundler
2018-09-12 16:53:28 -04:00
w0rp
99e9417ef9
Add support for Julia Language Server ( #1894 )
2018-09-10 17:24:04 +01:00
Daniel Hahler
f516cac47c
doc: fix typo in ale-rust.txt
...
[ci skip]
2018-09-09 23:34:27 +02:00
Bartolomeo Stellato
169e4b67d3
Added julia to the list in ale-support docs
2018-09-09 14:47:55 -04:00
w0rp
0948dcc435
Merge pull request #1897 from LEI/add-sqlfmt-fixer
...
Add support for sqlfmt
2018-09-09 11:55:42 +01:00
w0rp
395aba19c3
Merge pull request #1885 from dsifford/dsifford-fixer-uncrustify
...
add uncrustify fixer for several languages
2018-09-09 11:30:30 +01:00
Bartolomeo Stellato
b3adf241c3
Fix other warnings
2018-09-08 16:05:34 -04:00
Bartolomeo Stellato
91bb948b90
Try to fix CI
2018-09-08 14:11:11 -04:00
LEI
a97ef49c51
Add support for sqlfmt
2018-09-08 01:34:10 +02:00
Derek P Sifford
6e4dccc0e0
really fix lint errors
2018-09-07 15:28:51 -04:00
Bartolomeo Stellato
df72c5f1c1
Added various files to integrate julia. Still not working.
2018-09-07 11:11:29 -04:00
Derek P Sifford
9ba2d209a8
fix lint test failures
2018-09-06 21:59:03 -04:00
Sascha Grunert
7b62a15739
Add golangci-lint ( #1890 )
2018-09-06 20:31:12 +01:00
Horacio Sanson
a9333c2866
Fix #1822 - support go-langserver lsp.
2018-09-06 13:46:59 +09:00
Derek P Sifford
0ed4a5bbcc
add uncrustify fixer for several languages
2018-09-04 20:39:32 -04:00
Ty Coghlan
3d016f1697
Changed sbtserver to just work off of the address variable
2018-09-01 21:03:29 -04:00
Ty Coghlan
8e3bf10592
added sbtserver linter
2018-08-30 22:10:38 -04:00
w0rp
ea01cc708b
Merge pull request #1865 from TheLocehiliosan/puppet-options
...
Support options for puppet parser validate
2018-08-29 14:22:01 +01:00
Tim Byrne
ed26ddc09c
Always use --color=false when validating puppet
...
Colorized output is difficult for ALE to parse.
2018-08-29 07:15:03 -05:00
w0rp
ee3142b601
Merge pull request #1866 from Steap/feature/xmllint-fixer
...
Add support for xmllint as a fixer.
2018-08-28 23:36:00 +01:00
w0rp
79f02fce69
Merge pull request #1856 from sbl/ocamlformat
...
add ocamlformat support
2018-08-28 23:28:30 +01:00
w0rp
d4ce201cc2
Merge pull request #1849 from hsanson/1848-add-support-for-java-lsp
...
Add vscode-java-language-server linter
2018-08-28 22:53:11 +01:00
Cyril Roelandt
cc5ad6491f
Add support for xmllint as a fixer.
2018-08-28 23:43:52 +02:00
Tim Byrne
6212d9a515
Update TOC for ale-puppet-puppet
2018-08-27 13:12:56 -05:00
Tim Byrne
192f211a0e
Support options for puppet parser validate
...
It can be necessary to pass options to the puppet parser validation. The
most glaring example of this is when using Puppet 3, with the
`parser = future` option enabled. This update allows adding
`--parser=future` to the options passed to Puppet.
2018-08-27 12:59:38 -05:00
Horacio Sanson
1980245b94
Add solargraph LSP linter.
2018-08-27 10:58:17 +09:00
Horacio Sanson
228aee71a5
Add java lsp linter to documentation
2018-08-26 22:11:04 +09:00
sbl
aa015ec4db
add ocamlformat support
2018-08-26 13:47:56 +02:00
w0rp
3c85c7ef65
Sort the HTML documentation sections
2018-08-24 13:24:42 +01:00
w0rp
adc038f327
Merge pull request #1839 from filipekiss/feature/stylelint-inline-css
...
Add Stylelint as HTML Linter
2018-08-24 13:20:37 +01:00
Filipe Kiss
c253fb72e3
📚 Add html stylelint to TOC
2018-08-24 08:43:19 -03:00
fenuks
9d7c48038c
Add clazy as cpp linter
2018-08-24 10:52:33 +01:00
Horacio Sanson
3afff5a24c
Add vscode-java-language-server linter
2018-08-24 16:28:15 +09:00
Evan Borden
707b539969
Add hlint refactoring as a fixer ( #1836 )
2018-08-23 23:23:54 +01:00
Evan Borden
2600524274
Add stylish-haskell as a fixer ( #1837 )
...
* Add stylish-haskell as a fixer
`stylish-haskell` is a common formatting tool for the haskell toolchain.
It is not as advanced as `brittany` or `hindent`, but it is commonly
used for formatting of imports and data declarations. This adds it as a
fixer in ALE.
2018-08-23 23:14:59 +01:00
w0rp
81d0eccfab
Merge pull request #1835 from barreyra/master
...
Enabling clangd for cpp, objc and objcpp
2018-08-23 22:54:11 +01:00
w0rp
7c10249c52
Merge pull request #1820 from SuRaMoN/master
...
Added phpcs options support as described in #257
2018-08-23 22:42:45 +01:00
Krzysztof Jagiełło
aba4160553
Fix case typo in the documentation
2018-08-23 20:24:47 +02:00
Bruno R. Barreyra
795122a042
Enabling clangd for cpp, objc and objcpp
2018-08-23 05:58:06 +02:00
Filipe Kiss
935a132d8f
📚 Add docs for html stylelint
2018-08-22 19:00:42 -03:00
matthias
02fdfcda58
Added phpcs options support as described in #257
2018-08-16 16:44:41 +02:00
tyru
88ffdb4736
feat: add ale_go_govet_options variable
2018-08-16 11:36:46 +09:00
w0rp
a88a6d5285
Merge pull request #1806 from jimenezrick/fix-rustc-linter
...
Fix #1684 : Use the correct flag name in rustc linter
2018-08-12 09:41:36 +01:00
Ricardo Catalinas Jiménez
db003a4361
Fix #1684 : Use the correct flag name in rustc linter
...
The rust compiler renamed the option '-Z no-trans' to '-Z no-codegen'.
https://github.com/rust-lang/rust-enhanced/issues/281
2018-08-10 21:50:52 +01:00
Peter Benjamin
8faa11752c
Add prettier as a YAML option ( #1789 )
...
* Add prettier as a yaml fixer
* Sort yaml fixers alphabetically
* Add prettier to doc/ale.txt
* Add ale-yaml-prettier
* Add ale-yaml-prettier to the TOC
2018-08-08 18:48:28 +01:00
w0rp
7179f92e44
#925 Tell people not to use the tslint linter
2018-08-08 11:17:32 +01:00
Daniel M. Capella
5ed99734bd
doc: LSP can provide completions
2018-08-05 01:42:16 -04:00
David Hotham
d0e3302253
Add support for yang-lsp
2018-08-03 21:13:48 +01:00
w0rp
9ef266d050
Merge pull request #1770 from fredemmott/hack
...
Split Hack out from PHP, modernize
2018-08-02 21:58:57 +01:00
Fred Emmott
a728f074f7
Disable HHAST by default
...
it executes $PROJECT/vendor/bin/hhast, so that's not a good idea.
2018-08-02 13:50:56 -07:00
Fred Emmott
de6cd961a8
Suggested changes
2018-08-02 12:59:04 -07:00
Luxed
6b3086237a
Add Haskell IDE Engine (hie) support ( #1735 )
...
* Adding support for haskell-ide-engine
* Work with the current directory if no stack.yaml file is found
* Added Cabal file detection, updated documentation and added tests
* Updated help
2018-08-02 20:24:58 +01:00
Fred Emmott
238201805d
Split Hack out from PHP, modernize
...
fixes #1738
- Replace previous `hh_client` usage with LSP client
- Add `HHAST` linter
- Split Hack from PHP: Hack is increasingly diverging from PHP:
- Hack tools do not understand PHP
- Most PHP tools do not handle Hack code well (including vim's syntax
highightling files)
- http://github.com/hhvm/vim-hack now sets filetype to `hack`
2018-08-02 11:28:56 -07:00
w0rp
5f024eda09
Merge pull request #1771 from fredemmott/lsp
...
Show LSP diagnostic codes for `%code%` in message formats
2018-08-02 19:22:45 +01:00
Fred Emmott
e722841fa3
Improved documentation for code
loclist item field
2018-08-02 09:24:45 -07:00
Fred Emmott
2768bf15ba
Handle LSP codes for %code%
in message formats
...
fixes #1767
2018-08-02 09:06:48 -07:00
Travis Cline
2ac9e454d6
python: add lookup path for flake8 config
2018-08-01 20:07:11 -07:00
Daniel M. Capella
ab5e44249d
doc/rust: rust.vim distributed w/ Vim>=8.0.0501
...
3c2881dc11
2018-08-01 12:54:47 -04:00
w0rp
399a0d3c98
#1700 - Mention how to work around the completeopt bug in the documentation
2018-07-31 20:34:37 +01:00
w0rp
ac4bac8ea4
Add support for parsing compile_commands.json files for C compilers
2018-07-29 19:24:27 +01:00
w0rp
a7b8cb4fe3
Mention v:t_TYPE variables in the developer documentation
2018-07-27 09:18:09 +01:00
actionless
c2cfe2326d
doc: mark vulture
as file linter
2018-07-26 14:41:13 +02:00
Yauhen Kirylau
8517e901ff
Add support for 'vulture' for Python
2018-07-26 08:41:27 +01:00
jtalowell
c57b031876
Providing cquery support for C files
2018-07-25 14:23:13 +10:00
w0rp
3418574770
Update the developer documentation
2018-07-24 10:11:14 +01:00
Andrey Melentyev
9b4963847d
Add Clangd language server support for C
2018-07-22 21:22:38 +02:00
w0rp
baa44bb3a7
Merge pull request #1742 from typetetris/master
...
Add cabal-ghc linter
2018-07-22 14:12:23 +01:00
w0rp
04fbea6e80
Merge pull request #1736 from unpairedbracket/master
...
Add support for Fortran language server by @hansec
2018-07-20 21:05:24 +01:00
w0rp
0d37aaac7a
Fix #1631 - Disable balloon support for terminals by default
2018-07-20 16:10:25 +01:00
Eric Wolf
ac6bc6d0ae
Add cabal-ghc linter
...
cabal-ghc calls ghc via cabal exec and so ghc has access to packages
in cabal sandboxes for example
2018-07-20 16:48:27 +02:00
Ben Spiers
e8bea510df
Add documentation and testing for fortls
2018-07-19 22:27:47 +01:00
Ben Spiers
324838adae
Add support for Fortran language server by @hansec
2018-07-19 18:47:37 +01:00
w0rp
a01fab2ee6
Fix #1619 - Rewrite lint on enter events so they behave better
2018-07-17 00:18:34 +01:00