Diego Lemos
607750eb02
Fix PMD not working with classes without package
...
PMD is currently not working properly for Java classes that use [unnamed
packages](https://docs.oracle.com/javase/specs/jls/se11/html/jls-7.html#jls-7.4.2 ).
Consider the following Java class that does not contain a `package`
declaration:
```java
public class App {
String getGreeting() {
return "Hello world.";
}
static void main(String... args) {
System.out.println(new App().getGreeting());
}
}
```
Running PMD in the command line agaist the Java class above produces an
output with empty string `""` in the `"Package"` column:
```sh
$ pmd -R category/java/bestpractices.xml -f csv -d './src/main/java/App.java'
Oct 02, 2018 9:10:39 PM net.sourceforge.pmd.PMD processFiles
WARNING: This analysis could be faster, please consider using Incremental Analysis: https://pmd.github.io/pmd-6.7.0/pmd_userdocs_incremental_analysis.html
"Problem","Package","File","Priority","Line","Description","Rule set","Rule"
"1","","/Users/diego/Projects/github.com/dlresende/kata-fizz-buzz/src/main/java/App.java","2","7","System.out.println is used","Best Practices","SystemPrintln"
```
But the pmd.vim handler's current pattern refuses everything coming
from a Java class that does not have a package name (2nd column):
```vim
let l:pattern = '"\(\d\+\)",".\+","\(.\+\)","\(\d\+\)","\(\d\+\)","\(.\+\)","\(.\+\)","\(.\+\)"$'
```
The solution I am proposing is to also accept empty strings as package names.
2018-10-02 21:34:11 +01:00
Travis Gibson
2b2e766dc6
Add Perl6 support via 'perl6 -c'
2018-09-28 16:18:40 -07:00
Evan Rutledge Borden
2a56475cf7
Remove test vars that cover bug
...
These test vars were covering up a bug in the hlint linter
implementation. Without these vars we can see the behavior that is
exhibited in `vim` proper.
2018-09-28 11:37:40 -04: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
17676f6a6d
Add missing files for ccls test
2018-09-26 23:17:19 +08: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
Bert JW Regeer
8e7e810db6
Bugfix: python add blank lines ( #1944 )
...
* Don't add newlines when not a control statement for Python
* Add test for accidental newline fix
* Add docstring detection to avoid adding unnecessarily newlines
* Add tests for docstring detection
2018-09-25 10:02:01 +01:00
w0rp
aa5c82b171
Merge pull request #1932 from rhysd/shfmt-default-indent
...
shfmt: Use Vim's indent config as default indent width
2018-09-20 09:30:59 +01: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
w0rp
a6c6e24d61
#1872 Remove extra carriage returns when fixing files on Windows
2018-09-19 19:28:57 +01:00
Daniel Wennberg
d50e603177
Support both old (<0.7) and new Julia versions
...
Closes #1931
2018-09-19 07:34:11 -07:00
w0rp
6bbbb9456c
Merge pull request #1926 from gnustomp/master
...
c#ParseCFlags: don't index empty list
2018-09-19 13:22:43 +01:00
w0rp
e5b920e387
Merge pull request #1934 from meunierd/solargraph-stdio
...
Support Solargraph stdio
2018-09-19 13:12:41 +01:00
w0rp
993f02ad80
Merge pull request #1928 from felipesere/master
...
To avoid blocking build tools, suspend ALE when suspending vim
2018-09-18 17:46:45 +01:00
w0rp
213a901ccd
Stop tsserver from causing errors to be rendered redundantly
2018-09-18 17:43:17 +01:00
Devon Meunier
4025030d86
Solargraph stdio
2018-09-18 11:20:29 -04:00
rhysd
532686102e
shfmt: Use Vim's indent config as default indent width
2018-09-18 17:51:00 +09:00
KtorZ
bd32b7c856
Add command_callback tests to cover hlint config variables
2018-09-18 08:25:49 +02:00
James Ye
3c067941f1
add test for arguments with '--'
2018-09-18 10:59:26 +10:00
Felipe Sere
f09e6d638f
Test that we CleanupEveryBuffer when vim supports it
2018-09-17 21:26:25 +01:00
w0rp
ddb3e6d57a
Handle failing to connect to eslint_d
2018-09-17 17:32:57 +01:00
w0rp
a4a4bba884
Merge pull request #1927 from jparise/thrift-includes-default
...
thrift: default thrift_thrift_includes to ['.']
2018-09-17 11:21:30 +01:00
w0rp
f9e99d81a4
#1794 - Handle LSP documentation content as a Dictionary
2018-09-17 11:16:46 +01:00
w0rp
0b163ec656
Fix the Julia languagserver linter for Julia 0.7
2018-09-17 09:16:41 +01: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
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
jpsouzasilva
9bbea8b830
Add tests for assuring the SCSS stylelint options work
2018-09-14 13:32:42 -03:00
w0rp
0868cb769d
Merge pull request #1906 from ngavalas/autocomplete-trigger-prefix
...
fix non-. prefix triggers overfiltering results
2018-09-14 13:32:25 +01: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
b01470cbbc
Test for bundle paths with spaces again
2018-09-14 13:26:29 +01:00
w0rp
5c86ffd321
Return only the unescaped executables from executable callbacks
2018-09-14 13:24:59 +01:00
Sascha Grunert
c48106f484
Adapt tests
2018-09-14 10:47:33 +02:00
Ryan Rosenblum
9e09b7ca35
Update all Ruby linters to work consistently with bundler
2018-09-12 16:53:28 -04:00
Nick Gavalas
b4513fc4b0
fix non-. prefix triggers overfiltering results
2018-09-12 15:47:57 -04:00
Nick Gavalas
44070d8a45
fix tsserver className parsing
2018-09-11 10:56:58 -04:00
w0rp
99e9417ef9
Add support for Julia Language Server ( #1894 )
2018-09-10 17:24:04 +01:00
Daniel Jones
150015d0dc
Fixed NASM tests
2018-09-10 09:23:47 +10:00
Bartolomeo Stellato
97ed25a8bf
Escape julia command + reorder table in README
2018-09-09 10:09:05 -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
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
w0rp
0ae4ea23c8
#1888 Support names with minuses in Clojure and Lisp
2018-09-07 19:27:42 +01:00
Bartolomeo Stellato
68ac4d1095
Fix julia escaping + minor edits
2018-09-07 14:13:44 -04:00
Bartolomeo Stellato
f64f0bb48c
Added tests
2018-09-07 13:16:22 -04:00
w0rp
e0fe97e0a8
Merge pull request #1883 from hsanson/add-solargraph-yml-to-root-path-search
...
Add solargraph.yml file as root path search file.
2018-09-06 20:34:34 +01:00
Sascha Grunert
7b62a15739
Add golangci-lint ( #1890 )
2018-09-06 20:31:12 +01:00
w0rp
7086769289
#1891 Fix the go-langserver tests
2018-09-06 17:05:05 +01:00
w0rp
f1d5bcbf98
Merge pull request #1870 from hsanson/1822-add-go-langserver-support
...
Fix #1822 - support go-langserver lsp.
2018-09-06 14:50:00 +01:00
w0rp
f8beaa9e3e
Fix #1866 - Handle empty output from Perl
2018-09-06 09:23:36 +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
Horacio Sanson
044c762c85
Add solargraph.yml file as root path search file.
...
Solargraph allows to set configuration options by creating a
.solargraph.yml file at the root of the project using it. Therfore this
file is a good canditate for finding ruby projects root paths.
Initial discussion:
https://github.com/w0rp/ale/issues/1874#issuecomment-418316168
2018-09-05 07:12:04 +09:00
w0rp
d476578a40
Improve ALE project style checking
...
* The project style linter now runs while you type.
* Now the scripts for checking the project require blank lines.
* Many style issues have been found and fixed.
2018-09-04 16:51:18 +01:00
w0rp
8f2e1c393f
Merge pull request #1871 from Ophirr33/master
...
added sbtserver linter
2018-09-04 11:22:57 +01:00
w0rp
43b04d4e5b
Fix the dart language server command and cover it with tests
2018-09-04 11:15:59 +01:00
w0rp
fddbfdef12
#1875 Do not lint and so on when an operator is pending
2018-09-03 13:59:56 +01:00
w0rp
c1f0956d9b
Merge pull request #1869 from Steap/feature/gitlint-ignore-whitespace
...
gitcommit: fully implement warn_about_trailing_whitespace
2018-09-03 11:27:19 +01: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
Cyril Roelandt
244c5a8ce5
gitcommit: fully implement warn_about_trailing_whitespace
...
Fixes #1761
2018-08-30 03:42:44 +02: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
w0rp
09e43ab16b
Merge pull request #1847 from hsanson/1846-support-solargraph-lsp
...
1846 support solargraph lsp
2018-08-28 21:52:18 +01:00
w0rp
b6112aedc3
Merge pull request #1861 from dimbleby/goto-definition-column
...
Fix out-by-one error in column on goto-definition
2018-08-28 10:11:44 +01:00
David Hotham
aef11cc0d2
Fix out-by-one error in column on goto-definition
...
Fixes #1860
2018-08-27 13:53:40 +01:00
Horacio Sanson
1980245b94
Add solargraph LSP linter.
2018-08-27 10:58:17 +09:00
Horacio Sanson
261c29c3d0
Add vader test and fix command callback.
2018-08-26 22:11:36 +09:00
sbl
b7169c33e7
fix tests
2018-08-26 13:59:55 +02:00
sbl
aa015ec4db
add ocamlformat support
2018-08-26 13:47:56 +02: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
w0rp
c4eca7c417
Use one LSP connection per project
2018-08-24 13:16:58 +01:00
fenuks
9d7c48038c
Add clazy as cpp linter
2018-08-24 10:52:33 +01:00
w0rp
08d141edfb
Fix #1844 - Make the kotlin languageserver linter work again
2018-08-24 10:41:33 +01:00
w0rp
1f26fc4013
Merge pull request #1841 from dabbeg/fix-importjs-fixer
...
importjs fixer not reading correct executable variable name
2018-08-24 10:31:18 +01:00
Davíð Guðni
f526fc68d1
importjs fixer not reading correct executable variable name
2018-08-24 09:04:17 +00: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
7c10249c52
Merge pull request #1820 from SuRaMoN/master
...
Added phpcs options support as described in #257
2018-08-23 22:42:45 +01:00
Martin Tournoij
18ec66bd21
Remove "go env" from gobuild linter
...
I see no reason to do this? It is just setting the environment to what
it already is?
It was originally added in #297 , but that entire PR is not a great idea
in the first place; that PR (together with #270 ) tried to make the Go do
non-standard and non-supported stuff like compiling packages outside of
GOPATH.
That's not something that works well (I tried), so was eventually
removed in #465 , but these "go env" calls remained, for no reason in
particular, as far as I can think of.
This will improve on #1834 ; you will now no longer get a confusing error
(but still won't get a meaningful error; need to think how to do that).
2018-08-23 00:42:19 +01:00
Filipe Kiss
b78ee18898
☔ Add html stylelint test
2018-08-22 19:00:42 -03:00
w0rp
a366d325a7
Merge pull request #1815 from fredemmott/lsp-related-information
...
If present, use new-ish LSP 'relatedInformation' field for :ALEDetail
2018-08-20 16:59:21 +01:00
matthias
f82ab76833
Added and fixed tests
2018-08-18 20:59:35 +02:00
w0rp
ad8b260519
Fix #1816 - Fix a type error in the initialize message handler
2018-08-16 14:19:12 +01:00
tyru
88ffdb4736
feat: add ale_go_govet_options variable
2018-08-16 11:36:46 +09:00
Fred Emmott
4923d48d53
Correct related information line numbers from 0-based to 1-based
2018-08-15 14:46:57 -07:00
Fred Emmott
764da48c57
Test file was the wrong way around
2018-08-15 14:40:51 -07:00
Fred Emmott
c467db3ed9
Better formatting
2018-08-15 14:31:30 -07:00
Fred Emmott
484a70f0c0
Use new-ish LSP 'relatedInformation' field for :ALEDetail
2018-08-15 14:19:32 -07: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
w0rp
6167f75628
Merge pull request #1802 from flybayer/fix-prettier-d
...
Don't use error output from prettier_d for fixing files
2018-08-10 18:28:38 +01:00
w0rp
a56e801567
Merge pull request #1793 from kodemeister/cquery
...
Use .cquery file to detect the project root
2018-08-10 18:23:55 +01:00
w0rp
e9086dd55c
Revert " #1459 Always run ESLint in the directory of the file being checked"
...
This reverts commit 634bf73f52
.
2018-08-10 11:49:17 +01:00
Brandon Bayer
63c66dc5d2
fix: Don't use error output from prettier_d for fixing files
2018-08-09 12:56:53 -04:00
w0rp
634bf73f52
#1459 Always run ESLint in the directory of the file being checked
2018-08-09 08:51:27 +01:00
kodemeister
cc84c19451
Add C/C++ tests for cquery LSP linter
2018-08-09 09:02:16 +06:00
Bradford Larsen
8a9b28daf9
Update tests in response to changes in #1797 .
2018-08-07 16:51:23 -04:00
Bradford Larsen
6f2d868baf
Update tests in response to changes in #1797 .
2018-08-07 16:41:12 -04:00
David Hotham
d0e3302253
Add support for yang-lsp
2018-08-03 21:13:48 +01:00
w0rp
209cd54783
Fix #1781 - Fix me breaking the tsserver linter
2018-08-03 17:22:09 +01:00
w0rp
41178425ab
Fix the Windows tests
2018-08-03 01:00:39 +01:00
w0rp
217284360d
Simplify the code for most linters and tests with closures
2018-08-02 23:44:12 +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
w0rp
ccbdfcd76f
Include the error in the detailed error message in the GCC handler
2018-08-02 21:45:16 +01: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
Paul Reimer
cb8ad9fbd8
Javascript prettier filetype detect fix ( #1769 )
...
Support fixing YAML and HTML files with prettier for files without file extensions.
2018-08-02 20:20:19 +01:00
w0rp
649934230b
Fix the failing tsserver test
2018-08-02 19:32:57 +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
Fred Emmott
04362c746d
Add test for LSP code of -1
2018-08-02 09:30:22 -07:00
Fred Emmott
2768bf15ba
Handle LSP codes for %code%
in message formats
...
fixes #1767
2018-08-02 09:06:48 -07:00
w0rp
16d0c52d24
Indicate that a C compiler failed due to problems in a header file
2018-07-30 20:09:43 +01:00
w0rp
1e6b1d9be2
Try to fix the C parsing test on Windows
2018-07-29 19:30:12 +01:00
w0rp
ac4bac8ea4
Add support for parsing compile_commands.json files for C compilers
2018-07-29 19:24:27 +01:00
w0rp
daab1a08db
#1700 - Try using a 0ms timer showing the completion menu
2018-07-26 23:08:38 +01:00
Yauhen Kirylau
8517e901ff
Add support for 'vulture' for Python
2018-07-26 08:41:27 +01:00
w0rp
0012c78b02
#1700 - Temporarily change completion options when the feedkeys() keybind is fired
2018-07-25 20:13:59 +01:00
w0rp
06132954b1
Switch to v:t_ variables for type checks
2018-07-25 01:27:28 +01:00
w0rp
9f8c37e17c
Ignore a shellcheck warning for custom linting rules
2018-07-25 00:41:26 +01:00
w0rp
d368f090ae
#1754 Require snake_case names for linters in the codebase
2018-07-24 10:05:44 +01:00
w0rp
9ade656661
Just remove the .git directory test for now
2018-07-23 22:22:19 +01:00
w0rp
44397dd6db
Skip the one failing test on Windows
2018-07-23 22:21:13 +01:00
w0rp
2a861dfd40
Make the test C import path test fail less
2018-07-23 22:03:28 +01:00
w0rp
d9579dbbe9
Get tests to pass in Vim 8.1
2018-07-23 20:41:48 +01:00
w0rp
7bf3a749d0
#1751 Handle LSP completion results without the 'kind' attribute
2018-07-23 10:21:09 +01:00
w0rp
3e4db9ed5c
Make the completion events test fail less
2018-07-22 22:42:41 +01:00
w0rp
846bfb47b2
Remove the redundant fix_buffer_data vars and filename variables
2018-07-22 22:31:46 +01:00
w0rp
81a8c77d20
#1692 - Only send completion requests to the first server supporting them
2018-07-22 21:14:56 +01:00
w0rp
9c849da8c4
Merge pull request #1751 from melentye/master
...
Add Clangd language server support for C
2018-07-22 20:55:01 +01:00
Andrey Melentyev
9b4963847d
Add Clangd language server support for C
2018-07-22 21:22:38 +02:00
w0rp
6dc737cda1
Check LSP capabilities before using them
2018-07-22 19:04:55 +01:00
w0rp
baa44bb3a7
Merge pull request #1742 from typetetris/master
...
Add cabal-ghc linter
2018-07-22 14:12:23 +01:00
w0rp
8062d6207e
Revert "Update the tests to check README.md in the new location"
...
This reverts commit 6c10be8992
.
2018-07-22 12:16:42 +01:00
w0rp
6c10be8992
Update the tests to check README.md in the new location
2018-07-22 12:15:15 +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
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
ad986a8d82
Add the .fortls file necessary for tests to work (defying .gitignore)
2018-07-19 22:37:06 +01:00
Ben Spiers
e8bea510df
Add documentation and testing for fortls
2018-07-19 22:27:47 +01:00
w0rp
61a5880747
Capture server capabilities from LSP servers
2018-07-19 21:15:05 +01:00
w0rp
5453e0e1a4
Fix #1708 - Don't modify linters or register fixers in the sandbox
2018-07-17 21:39:50 +01:00
w0rp
7952ebe77e
#1700 - Don't send <C-x><C-o> for completion in Insert mode
2018-07-17 19:39:45 +01:00
w0rp
a01fab2ee6
Fix #1619 - Rewrite lint on enter events so they behave better
2018-07-17 00:18:34 +01:00
w0rp
37df1f8ceb
#1700 - Stop handling completion results if you leave insert mode
2018-07-16 17:57:07 +01:00
w0rp
aa54c10bae
Try to make tests pass on Windows again
2018-07-16 14:18:50 +01:00
w0rp
2a081e81db
Try and make the temporary file test fail less on Windows
2018-07-16 14:03:08 +01:00
w0rp
f235c4b3b9
Make NeoVim 0.3 tests fail a bit less
2018-07-16 13:46:44 +01:00
Takashi WADA
dbf051e62b
remark-lint without saving to disk
2018-07-16 18:33:22 +09:00
Takashi WADA
f369aa65a2
Support remark-lint installed locally
2018-07-16 18:33:21 +09:00
w0rp
fcd62342d5
Only temporarily replace TMPDIR if it's defined to be an empty string
2018-07-16 08:45:55 +01:00
w0rp
6e1a5d4189
Stop the no loclist clearing test from failing in NeoVim 0.3
2018-07-15 23:19:11 +01:00
w0rp
d9e12cb047
Re-run history tests, which can fail randomly
2018-07-15 21:20:56 +01:00
w0rp
d3ed1e52ba
Fix #1687 - Parse highlights when verbose > 0
2018-07-15 21:01:00 +01:00
MTDL9
5df735555c
Add kotlin language server support ( #1725 )
...
* Add kotlin languageserver linter definition
* Added kotlin languageserver references in docs, fix missing !! on other linters
* Added Vader tests for root path detection in Kotlin Language Server
2018-07-15 18:54:18 +01:00
w0rp
a42999a639
Massively reduce the amount of code needed for linter tests
2018-07-15 18:28:28 +01:00
w0rp
5155a35a80
Retry the smoke test on Windows too
2018-07-13 09:53:07 +01:00
MTDL9
021f59b3f4
Support strings in data field of error responses
2018-07-13 06:42:28 +02:00
w0rp
d22b9bf1a6
Try to start the NeoVim 0.3 tests more times
2018-07-12 14:02:38 +01:00
w0rp
ac0abc7c1f
Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR
2018-07-12 13:05:59 +01:00
w0rp
0de3d24338
Try the smoke test a few times over in NeoVim 0.3, which fails randomly
2018-07-11 13:46:13 +01:00
w0rp
c1a2aa27f3
Merge pull request #1697 from ananace/add-puppet-languageserver
...
puppet: Add puppet-languageserver linter
2018-07-07 12:08:14 +01:00
w0rp
4999ad7e78
Add an AssertLinter command for tests
2018-07-06 22:46:36 +01:00
w0rp
344e0fec97
Fix tests on Windows
2018-07-06 20:52:47 +01:00
w0rp
1e9b36cdbf
Fix tests on Windows
2018-07-06 08:15:54 +01:00
w0rp
0dd356aa52
Fix the broken tests
2018-07-06 01:00:30 +01:00
w0rp
d5b4f6f7e7
Fix command formatting for LSP linters
2018-07-05 21:48:47 +01:00
w0rp
da692b2e2d
Support formatting escaped executable names into commands with %e
2018-07-05 20:56:31 +01:00
Alexander Olofsson
9ca133feb0
Start of vader tests for puppet root detection
2018-07-05 21:25:03 +02:00
w0rp
d49daeb816
Merge pull request #1698 from dsifford/dsifford-isort-options
...
add options variable to isort
2018-07-05 09:25:16 +01:00
Derek P Sifford
6dc69b2144
address code review issues
2018-07-04 21:16:57 -04:00
w0rp
13a8f9c061
Optimise ale#Var a little
2018-07-04 23:54:14 +01:00
w0rp
9ddf1b6a05
Make the language option for LSP linters optional
2018-07-04 13:12:58 +01:00
w0rp
ca7fa31c61
Close #1690 - Respect the preview setting for completeopt
2018-07-04 08:52:18 +01:00
w0rp
db85b931ec
Remove deprecated code for the 2.0 release
2018-07-04 08:36:34 +01:00
w0rp
602e7fa00f
#1524 Avoid loading cursor code until engine code has been loaded
2018-07-03 21:14:00 +01:00
w0rp
e10e0934ab
Automatically retry running Vader tests so Travis CI will fail less
2018-07-03 20:50:56 +01:00
w0rp
1d8b326f62
Revert "Add a failing test to test re-running tests in AppVeyor"
...
This reverts commit 1565859eae
.
2018-07-03 19:59:40 +01:00
w0rp
1565859eae
Add a failing test to test re-running tests in AppVeyor
2018-07-03 19:56:37 +01:00
w0rp
73d3030cf1
Merge pull request #1691 from dsifford/dsifford-python-pyre
...
add pyre lsp linter to python linters
2018-07-03 08:31:01 +01:00
w0rp
5aba55bb86
#830 Make the LSP socket code so far use the new socket API
2018-07-03 00:30:26 +01:00
w0rp
01c68fedd6
#830 Implement a socket wrapper API for use with LSP connections
2018-07-02 23:49:47 +01:00
Derek P Sifford
20ed48352f
add dummy pyre binary and executable
2018-07-02 18:49:12 -04:00
Derek P Sifford
09a53fb363
add command_callback test
2018-07-02 18:23:42 -04:00
Govind KP
9d98e6db0c
Added dartfmt fixer ( #1683 )
...
* Added dartfmt to Fixers
* Added dartfmt specific documentation
2018-07-01 13:55:41 +01:00
w0rp
06f61eeeb8
Respect ale_warn_about_trailing_whitespace for yamllint
2018-07-01 13:49:40 +01:00
w0rp
e5e14de9ae
Capture error codes for yamlllint
2018-07-01 13:15:12 +01:00
w0rp
fee5107d43
Add tests for the yamllint handler
2018-07-01 12:50:46 +01:00
w0rp
1487c8daa0
Make highlight tests pass more in Neovim 0.3
2018-07-01 11:52:02 +01:00
w0rp
b88bf6ecba
Fix #1412 - Use --stdin-filename for newer reek versions
2018-07-01 10:21:59 +01:00
w0rp
fc041ae090
Make a test which can fail randomly synchronous instead
2018-06-28 13:59:52 +01:00
w0rp
d581fca35e
Get tests running and passing with NeoVim 0.2 and 0.3
2018-06-28 13:53:49 +01:00
Dan Aloni
d9e139ae23
Rust Cargo linter: Improve workspace support ( #1679 )
...
* Rust Cargo linter: Improve workspace support
When using Cargo workspaces [1], there is a 'Cargo.toml' directory in a
top level directory, listing all the crates in the project. If we are
currently editing one of the crates, 'cargo build' should execute in
that directory for that crate's separate `Cargo.toml`, otherwise Cargo
may spend more time possibly rebuilding the entire workspace, and maybe
failing on one of the other crates, instead of succeeding on the current.
[1] https://doc.rust-lang.org/book/second-edition/ch14-03-cargo-workspaces.html
2018-06-27 22:36:02 +01:00
w0rp
980aa35566
Merge pull request #1675 from nicopauss/master
...
Improve pyrex cython linter.
2018-06-27 21:39:36 +01:00