summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2018-09-19Merge pull request #1719 from elebow/auto-pipenv-option-for-python-lintersw0rp
Add python_[linter]_auto_pipenv options for python linters (fixes #1656)
2018-09-19Add fixer for Go modules (#1873)Martin Tournoij
* Add fixer for Go modules
2018-09-19Support both old (<0.7) and new Julia versionsDaniel Wennberg
Closes #1931
2018-09-18Solargraph stdioDevon Meunier
2018-09-17Merge pull request #1927 from jparise/thrift-includes-defaultw0rp
thrift: default thrift_thrift_includes to ['.']
2018-09-17Fix the Julia languagserver linter for Julia 0.7w0rp
2018-09-16thrift: default thrift_thrift_includes to ['.']Jon Parise
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-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 #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-14Adapt testsSascha Grunert
2018-09-12Update all Ruby linters to work consistently with bundlerRyan Rosenblum
2018-09-10Add support for Julia Language Server (#1894)w0rp
2018-09-10Fixed NASM testsDaniel Jones
2018-09-09Escape julia command + reorder table in READMEBartolomeo Stellato
2018-09-08Try to fix CIBartolomeo Stellato
2018-09-07Fix julia escaping + minor editsBartolomeo Stellato
2018-09-07Added testsBartolomeo Stellato
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-06#1891 Fix the go-langserver testsw0rp
2018-09-06Fix #1822 - support go-langserver lsp.Horacio Sanson
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-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-01Changed sbtserver to just work off of the address variableTy Coghlan
2018-08-30added sbtserver linterTy Coghlan
2018-08-28Merge pull request #1849 from hsanson/1848-add-support-for-java-lspw0rp
Add vscode-java-language-server linter
2018-08-27Add solargraph LSP linter.Horacio Sanson
2018-08-26Add vader test and fix command callback.Horacio Sanson
2018-08-24Merge pull request #1839 from filipekiss/feature/stylelint-inline-cssw0rp
Add Stylelint as HTML Linter
2018-08-24Add clazy as cpp linterfenuks
2018-08-24Fix #1844 - Make the kotlin languageserver linter work againw0rp
2018-08-23Merge pull request #1820 from SuRaMoN/masterw0rp
Added phpcs options support as described in #257
2018-08-23Remove "go env" from gobuild linterMartin Tournoij
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-22:umbrella: Add html stylelint testFilipe Kiss
2018-08-18Added and fixed testsmatthias
2018-08-16feat: add ale_go_govet_options variabletyru
2018-08-12Merge pull request #1806 from jimenezrick/fix-rustc-linterw0rp
Fix #1684: Use the correct flag name in rustc linter
2018-08-10Fix #1684: Use the correct flag name in rustc linterRicardo Catalinas Jiménez
The rust compiler renamed the option '-Z no-trans' to '-Z no-codegen'. https://github.com/rust-lang/rust-enhanced/issues/281
2018-08-09Add C/C++ tests for cquery LSP linterkodemeister
2018-08-03Add support for yang-lspDavid Hotham
2018-08-03Fix #1781 - Fix me breaking the tsserver linterw0rp
2018-08-03Fix the Windows testsw0rp
2018-08-02Simplify the code for most linters and tests with closuresw0rp
2018-08-02Add Haskell IDE Engine (hie) support (#1735)Luxed
* 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-07-29Add support for parsing compile_commands.json files for C compilersw0rp
2018-07-22Add Clangd language server support for CAndrey Melentyev
2018-07-22Merge pull request #1742 from typetetris/masterw0rp
Add cabal-ghc linter