summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2021-02-06Bugfix: ParseCFlagsFromMakeOutput was never being called (#3574)Hugo Gualandi
Previously, the make output was never being parsed, even when the `c_parse_makefile` option was set.
2021-02-06Merge pull request #3575 from hugomg/gnumakefileHoracio Sanson
Have c_parse_makefile look for GNUmakefile as well
2021-02-05Merge pull request #3576 from cyyever/fish_indentHoracio Sanson
Fish indent
2021-02-03Have c_parse_makefile look for GNUmakefile as wellHugo Musso Gualandi
Makefiles using GNU-make features might be called "GNUmakefile" instead of "Makefile". This commit teaches the `c_parse_makefile` feature to look for a GNUmakefile file if a Makefile is not present.
2021-01-31Allow duplicate LSP completions for autoimport (#3473)Jerko Steiner
Similarly to TS completions, this allows the user to pick the package to autoimport when both the package and method name are the same.
2021-01-273560 add vim 8.2 and nvim 0.4 to ci tests (#3561)Horacio Sanson
* Add vim82 and neovim04 to CI tests. * Fix test_sign_column_hightlighting test. In vim82 with verbose=1 the output of highlight command changes breaking the ale#sign#SetUpDefaultColumnWithoutErrorsHighlight(). This commit forces verbose=0 when the method starts and restores the previous value before exiting. * No return values in vim82 returns a numeric value instead of a empty string. * Fix test_reek_handler test The FuzzyJSONDecode() method catches E474 when it fails to parse the input as JSON but Vim8.2 throws E491 instead. This commit modifies the function to catch both E474 or E491. * Fix perl6 handler test. Perl6 handler catches json parse errors using the E474 error but in Vim82 it changed to E491. This commit modifies the handler so both errors are considered. * Fix list opening tests. In Vim 8.2 the call `range(1, bufnr('$'))` always returns quickfix buffers no matter if they are closed or not. Using `ls` does not show them but the above range will always include them. This new behavior breaks the ale#list#IsQuickfixOpen() method that in turn breaks many other things. This commit fixes this by using the getqflist() and getloclist() methods instead. * Fix test updates loclist test. For some reason in Vim 8.2 the sign offset seems to not reset between tests causing the sign_id to not match in the Assert. When the test is run individually it passes but when run as part of the whole suite the sign_id is off by one. Forcing the offset in the test setup seems to fix the issue. * Fix omnifunc completion test. For unknown reasons the SetCompletionResponse tests fail in Neovim 0.2 and 0.4. Unfortunatelly the only solution I found is to disable them for neovim. * Fix linter warnings * Fix smoker test. Add vim 8.2 to the list of versions that need some retires due to randomly failing tests. * Add docker image build job. Trying some clever trick to build the docker image if not available locally or in Docker hub. It uses the Dockerfile md5 checksum as tag so only when changes on that file occur will the image be downloaded or build. * Add labels to Docker image * Remove tests for middle versions 8.1 and 0.3.5 * Use same vader commit as appveyor * Implement image push to Docker Hub Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-26Feature: Add support for named-pipe sockets for LSPs (#3509)Kevin Svetlitski
* Add support for using named pipes for lsp 'socket' servers; documentation updated accordingly * Add tests for connecting to named pipe sockets
2021-01-23Merge pull request #3547 from ↵Horacio Sanson
hsanson/3546-fix-E928-when-using-javac-linter-on-non-maven-projects Fix 3546 - check empty executable string.
2021-01-23Merge pull request #3521 from hsanson/3498-change-standardrb-fixer-to-use-stdinHoracio Sanson
3498 change standardrb fixer to use stdin
2021-01-23Merge pull request #3424 from maxice8/atoolsHoracio Sanson
Add support for Alpine Linux APKBUILD
2021-01-23add spectral handlertatsuya
2021-01-22feat: Add Deno lsp supportMohammed Chelouti
2021-01-22feat: Add Deno fmt fixerMohammed Chelouti
2021-01-22Make apkbuild_lint and secfixes_check default for apkbuild filetypeLeo
2021-01-22Add handler for the output of atoolsLeo
atools is a collection of tools written in ash shell and Lua that provide linting for Alpine Linux's APKBUILD. APKBUILDs are build recipes used by Alpine Linux's build system, abuild, an equivalent would be Arch Linux's PKGBUILD and Gentoo's ebuild.
2021-01-23Fix 3546 - check empty executable string.Horacio Sanson
At some point VIM/NVIM started throwing errors if the input string is empty for some functions such as execute() and fnamemodify(). This commit checks if the executable string is empty before passing it to the executable() function. Resources: - https://github.com/vim/vim/issues/7465 - https://github.com/vim/vim/releases/tag/v8.2.2117
2021-01-22xo: refactor to functionCharles B Johnson
2021-01-22xo: inline filetype handlingCharles B Johnson
2021-01-22fixers/xo: remove unnecessary directory crawlCharles B Johnson
2021-01-22fixers/xo: support monoreposCharles B Johnson
2021-01-22fixers/xo: support stdin relative to the fixed fileCharles B Johnson
2021-01-22fixers/xo: support typescript optionsCharles B Johnson
2021-01-22fixers/xo: refactor to handlersCharles B Johnson
2021-01-22fixers/xo: add testsCharles B Johnson
2021-01-22linters/xo: consolidate xo lintersCharles B Johnson
2021-01-22Add yamllint and prettier to openapi.Horacio Sanson
This commit enables yamllint and prettier on openapi files.
2021-01-22Fix 3498 - Change standardrb fixer to read from stdin.Horacio Sanson
Seems standardrb fails to properly use the --config option when using temporary files but works fine when reading from stdin. This commit changes the fixer so it uses stdin instead of temporary files.
2021-01-20Merge pull request #3261 from toastal/dhallHoracio Sanson
Enhanced Dhall fixer support
2021-01-20Merge pull request #3430 from mbrunnen/mbn/fix-macros-include-c-flagHoracio Sanson
Add -imacros to C flags
2021-01-20Merge pull request #3362 from daliusd/tsserver_hintsHoracio Sanson
Show tsserver hints/suggestions in Ale.
2021-01-15Merge pull request #3234 from hsanson/3233-enable-ktlint-fixer-for-kotlin-filesHoracio Sanson
Enable ktlint fixer for kotlin files.
2021-01-14Merge pull request #3535 from dense-analysis/revert-3358-masterw0rp
Revert "Improves fixer performance for large buffers"
2021-01-14Add nvim floating window support (replaces #3314) (#3470)Kevin Clark
* Add nvim floating window hover support * Add configuration for float to replace preview * preview#ShowFloating: qualify local variables * Configure floating preview usecases individually Also: * Extract floating preview to its own file. * Ignore 'stay_here' option. Moving into the floating preview window seems confusing at best. * Re-use existing floating preview window if it's still up. * Flush out floating preview documentation. * Watch cursor position changes per window Floating previews open a new window, so when that window is written to, it moves briefly there at a different position than the original window. This makes repeated positions detected when positions are tracked at a s: level. Instead, we change the variable to window scoped, which only fires a message if the cursor has changed from the last position in *that window*. * g:ale_floating_preview cleanup * floating_preview: add ALEDetail tests * Fix fecs test missing runtime call * Add ALEHover floating preview tests Co-authored-by: Jan-Grimo Sobez <jan-grimo.sobez@phys.chem.ethz.ch>
2021-01-13Merge pull request #3494 from YorickPeterse/masterHoracio Sanson
Add linter for Inko
2021-01-13Merge pull request #3482 from liskin/lsp-popup-menu-fixHoracio Sanson
codefix: Fix LSP MenuCallback invocation (E119, not enough args)
2021-01-13Merge pull request #3398 from ecly/update-python-find-rootHoracio Sanson
Update `ale#python#FindProjectRootIni` with poetry.lock and pyproject.toml
2021-01-13Merge pull request #3399 from StephenWithPH/suggest-scalafmt-for-sbtHoracio Sanson
suggest scalafmt for sbt
2021-01-12Revert "Improves fixer performance for large buffers"Horacio Sanson
2021-01-08Merge pull request #3386 from ivorpeles/masterHoracio Sanson
Make isort fixer recognize auto_pipenv flag
2020-12-23Add linter for InkoYorick Peterse
This adds a linter for Inko (https://inko-lang.org/). The linter makes use of Inko's own compiler, and a newly introduced --check flag to only check for errors; instead of also compiling source code.
2020-12-21merging mastertoastal
2020-12-05codefix: Fix LSP MenuCallback invocation (E119, not enough args)Tomas Janousek
2020-11-29Merge pull request #3381 from andreypopp/gofmt-stding-stdoutHoracio Sanson
Use stdin/stdout to communicate with gofmt
2020-11-26fix: correct suggested filetype for yamlfixLyz
2020-11-25Use better string comparison operators in isort fixerIvor Peles
2020-11-25Fix comparison operatorIvor Peles
2020-11-25feat: add yamlfix fixerLyz
2020-11-21Ignore executable check when executable is pipenvIvor Peles
2020-11-21Set default value for python_isort_auto_pipenvIvor Peles
2020-11-21Use pipenv isort executable when python_auto_pipenv = 1Ivor Peles