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
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
560749cf9e
Merge pull request #1939 from elebow/fix-typo-solargraph-docs
...
Fix typo in Solargraph documentation
2018-09-20 09:28:48 +01:00
w0rp
1900b76005
Fix #1938 - Set a default value for an undefined variable
2018-09-20 08:28:51 +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
w0rp
a6c6e24d61
#1872 Remove extra carriage returns when fixing files on Windows
2018-09-19 19:28:57 +01:00
w0rp
9d50a06d48
Merge pull request #1937 from danielwe/master
...
Support both old (<0.7) and new Julia versions
2018-09-19 15:40:10 +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
b278927102
Merge pull request #1924 from fenuks/prospector-url-fix
...
Update prospector tool URL
2018-09-19 13:24:40 +01: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
KtorZ
d84fcf6c3c
Define custom vim global variables to pass options to hlint
2018-09-18 08:25:41 +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
Felipe Sere
cbf0568061
Join the ALECleanupGroup and ensure we don't run cleanup if ale.vim isn't loaded
2018-09-17 15:50:04 +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
1a13963f0d
Merge pull request #1925 from elebow/fix-markdown-error-in-readme-solargraph
...
Fix markdown error in README solargraph entry
2018-09-17 09:48:02 +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
Felipe Sere
fba4cfeae9
To avoid blocking build tools, suspend ALE when suspending vim
2018-09-16 15:57:13 +01:00
James Ye
87743faf2a
c#ParseCFlags: don't index empty list
2018-09-16 22:57:43 +10:00
Eddie Lebow
24e26b419a
Fix markdown error in README solargraph entry
2018-09-15 22:14:01 -04: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
fenuks
21ac9bdcaf
Update prospector tool url in README
2018-09-15 16:51:11 +02:00
w0rp
f1f2a22228
Merge pull request #1921 from rrosenblum/ruby_linters
...
Fix bug with RuboCop linter when options are not set
2018-09-14 18:46:29 +01:00
jpsouzasilva
9bbea8b830
Add tests for assuring the SCSS stylelint options work
2018-09-14 13:32:42 -03:00
Ryan Rosenblum
a55b8d10b0
Fix bug with RuboCop linter when options are not set
2018-09-14 12:30:28 -04: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
w0rp
43d7e8fde9
#1889 Add support for automatically previewing messages based on the cursor position
2018-09-14 12:42:26 +01:00
w0rp
f380d8508e
Merge pull request #1919 from saschagrunert/patch-1
...
Change PCRE escape to simple escape
2018-09-14 11:41:47 +01:00
Sascha Grunert
c48106f484
Adapt tests
2018-09-14 10:47:33 +02:00
Sascha Grunert
96e25d471c
Change PCRE escape to simple escape
2018-09-14 10:41:35 +02:00
jpsouzasilva
5901e1a879
Support options when using Stylelint with SCSS
...
Complement missing documentation
2018-09-13 08:51:33 -03:00