summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-15Add python_[linter]_auto_pipenv options for python linters (fixes #1656)Eddie Lebow
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-14Merge pull request #1921 from rrosenblum/ruby_lintersw0rp
Fix bug with RuboCop linter when options are not set
2018-09-14Fix bug with RuboCop linter when options are not setRyan Rosenblum
2018-09-14Merge pull request #1906 from ngavalas/autocomplete-trigger-prefixw0rp
fix non-. prefix triggers overfiltering results
2018-09-14Merge pull request #1850 from rrosenblum/ruby_lintersw0rp
Update all Ruby linters to work consistently with bundler
2018-09-14Test for bundle paths with spaces againw0rp
2018-09-14Return only the unescaped executables from executable callbacksw0rp
2018-09-14#1889 Add support for automatically previewing messages based on the cursor ↵w0rp
position
2018-09-14Merge pull request #1919 from saschagrunert/patch-1w0rp
Change PCRE escape to simple escape
2018-09-14Adapt testsSascha Grunert
2018-09-14Change PCRE escape to simple escapeSascha Grunert
2018-09-12Update all Ruby linters to work consistently with bundlerRyan Rosenblum
2018-09-12fix non-. prefix triggers overfiltering resultsNick Gavalas
2018-09-11Merge pull request #1905 from ngavalas/tsserver-classname-fixw0rp
Fix tsserver `className` responses
2018-09-11fix tsserver className parsingNick Gavalas
2018-09-10Add support for Julia Language Server (#1894)w0rp
2018-09-10Merge pull request #1900 from McSwaggens/masterw0rp
Fixed NASM linter from outputting junk file
2018-09-10Merge pull request #1899 from blueyed/typow0rp
doc: fix typo in ale-rust.txt
2018-09-10Fixed NASM testsDaniel Jones
2018-09-10Fixed NASM linter from outputting junk fileDaniel Jones
2018-09-09doc: fix typo in ale-rust.txtDaniel Hahler
[ci skip]
2018-09-09Added julia to the list in ale-support docsBartolomeo Stellato
2018-09-09Updated readmeBartolomeo Stellato
2018-09-09Escape julia command + reorder table in READMEBartolomeo Stellato
2018-09-09Merge pull request #1897 from LEI/add-sqlfmt-fixerw0rp
Add support for sqlfmt
2018-09-09Merge pull request #1885 from dsifford/dsifford-fixer-uncrustifyw0rp
add uncrustify fixer for several languages
2018-09-08Fix other warningsBartolomeo Stellato
2018-09-08Try to fix CIBartolomeo Stellato
2018-09-08Add support for sqlfmtLEI
2018-09-07really fix lint errorsDerek P Sifford
2018-09-07#1888 Support names with minuses in Clojure and Lispw0rp
2018-09-07Fix julia escaping + minor editsBartolomeo Stellato
2018-09-07Added testsBartolomeo Stellato
2018-09-07Added various files to integrate julia. Still not working.Bartolomeo Stellato
2018-09-06fix lint test failuresDerek P Sifford
2018-09-06Merge pull request #1883 from hsanson/add-solargraph-yml-to-root-path-searchw0rp
Add solargraph.yml file as root path search file.
2018-09-06Add golangci-lint (#1890)Sascha Grunert
2018-09-06Fix #1800 - Enable non-blocking writes where availablew0rp
2018-09-06#1891 Fix the go-langserver testsw0rp
2018-09-06Merge pull request #1870 from hsanson/1822-add-go-langserver-supportw0rp
Fix #1822 - support go-langserver lsp.
2018-09-06Fix #1866 - Handle empty output from Perlw0rp
2018-09-06Fix #1822 - support go-langserver lsp.Horacio Sanson
2018-09-04add uncrustify fixer for several languagesDerek P Sifford
2018-09-05Add solargraph.yml file as root path search file.Horacio Sanson
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-04Improve ALE project style checkingw0rp
* 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-04Merge pull request #1871 from Ophirr33/masterw0rp
added sbtserver linter
2018-09-04Fix the dart language server command and cover it with testsw0rp
2018-09-04Merge pull request #1882 from jacobmischka/masterw0rp
Replace removed function in dart#language_server
2018-09-03Replace removed functionJacob Mischka
Replaces removed `ale_linters#dart#language_server#GetExecutable`. Fixes #1881
2018-09-03#1875 Do not lint and so on when an operator is pendingw0rp