summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2018-11-11Merge pull request #2060 from meain/fixer-pretty-htmlw0rp
Add prettier to html formatters
2018-11-11Merge pull request #2056 from luan/virtualtextw0rp
Add support for nvim's virtualtext on cursor
2018-11-10Merge pull request #2053 from andreypopp/fix-ocamlformat-stdin-stdoutw0rp
Make ocamlformat work without temporary files
2018-11-10Fix #1960 - Do not fix files on :wqw0rp
2018-11-08Enable ESLint for Vue files by defaultw0rp
2018-11-06Fix info textLuan Santos
Removed ale_virualtext_prefix from debugging since it's not requried for the functionality to work. Sorted debugging info to make the list easier to navigate/diff.
2018-11-06Move virtualtext handling to own fileLuan Santos
This allows cursor and virtualtext to be independently autoloaded.
2018-11-07Add prettier to html formattersAbin Simon
2018-11-06Fix incorrect warning matchw0rp
Co-Authored-By: luan <github@luan.sh>
2018-11-05Add support for nvim's virtualtext on cursorLuan Santos
- Add g:ale_virtualtext_cursor boolean to enable/disable it - Add g:ale_virtualtext_prefix to configure what prefix to use (default: '> ') - Requires neovim 0.3.2's unreleased API `nvim_buf_set_virtual_text`
2018-11-04Make ocamlformat work without temporary filesAndrey Popp
Problem: ocamlformat is configured to format files in-place and thus go via creating a temporary file for that. Because temporary file resides in a different directory ocamlformat can't find `.ocamlformat` configuration files in an original location of source files. Solution: ocamlformat since version 0.8 can read sources on stdin and spur result on stdout. We reconfigure ocamlformat to use a simpler interface.
2018-11-04elixir-ls now recognizes umbrella projectsJon Parise
Previously, elixir-ls would treat each sub-project within an umbrella as standalone, which isn't desirable from a language server perspective. Added ale#handlers#elixir#FindMixUmbrellaRoot, which locates the current project's root and then continues searching upwards for a potential umbrella project root. This literally looks just two levels up to keep things simple while keeping in line with Elixir project conventions. Use this new function to determine elixir-ls's LSP project root.
2018-10-31Merge pull request #2035 from jparise/lsp_config_callbackw0rp
Add a `lsp_config_callback` linter option
2018-10-31Implement LSP symbol searchw0rp
2018-10-31Only send LSP config updates when the dict changesJon Parise
Each LSP connection now stores its configuration dictionary. It is initially empty (`{}`) and is updated each time the LSP connection is started. When a change is detected, the workspace/didChangeConfiguration message is sent to the LSP servers with the updated configuration.
2018-10-31Add a `lsp_config_callback` linter optionJon Parise
This is the callback-based variant of the existing `lsp_config` linter option. It serves the same purpose but can be used when more complicated processing is needed. `lsp_config` and `lsp_config_callback` are mutually exclusive options; if both an given, a linter preprocessing error will be raised. The runtime logic has been wrapped in `ale#lsp_linter#GetConfig` for convenience, similar to `ale#lsp_linter#GetOptions`. This also adds documentation and an `AssertLSPConfig` test function for completeness.
2018-10-31Use correct exclusion flag in rubocop fixerMax Hung
2018-10-29#2017 Add support for display results from other sourcesw0rp
2018-10-29#2017 Simplify lint cycles for supporting other sources laterw0rp
2018-10-26fix missing (s) on rubocop exclusion flagJustin Powell
2018-10-26closes #1580 add force exclusion to rubocop fixerJustin Powell
2018-10-26Rust checker: allow secondary spans to be ignored (#1696)Dan Aloni
* Rust checker: allow secondary spans to be ignored * test/handler/test_rust_handler.vader: Add tests for g:ale_rust_ignore_secondary_spans
2018-10-26#927 Allow b:ale_linter_aliases to be set to a Stringw0rp
2018-10-25Merge pull request #1958 from Garland-g/perl6w0rp
Add Perl6 support via 'perl6 -c'
2018-10-25Merge pull request #2016 from terryding77/masterw0rp
fix: change google_java_format_* to java_google_java_format_*
2018-10-25Only run stack if a stack.yaml config is found (#1752)Anthony Poon
* Only run stack if a stack.yaml config is found It is necessary to check for a stack.yaml file to distinguish between cabal-only projects or stack projects (which are also cabal projects since stack is built on top of cabal). * Test that stack is called if stack.yaml exists
2018-10-25Merge pull request #2012 from paihu/fix-cdstring-win32-change-drivew0rp
Fix #2011 MS Windows, lint error when current drive and target file drive is different.
2018-10-24fix: change google_java_format_* to java_google_java_format_* for inject ↵Terry Ding
global variables according to doc/ale-java.txt
2018-10-23add terraform fmt fixer for terraform and hcl filetypesDerek P Sifford
See #1718
2018-10-22fix indentpaihu
2018-10-22LSP configuration via didChangeConfiguration (#1852)Daniel Welch
* adding LSP configuration via workspace/didChangeConfiguration
2018-10-22fix CdString for MS Windowspaihu
2018-10-17New linter: dls (#1992)Auri
* New linter: dls
2018-10-12Allow custom filters for the jq fixer (#1980)Aliou Diallo
* Allow the jq filters to receive custom filters. * Update documentation.
2018-10-11Fix E523 on asynchronous truncated echo (#1987)Linda_pp
2018-10-10FIX: use mix from the project root directory (#1954)Matteo Centenaro
* FIX: use mix from the project root directory * Move find root project function to autoloaded handlers * add tests for #ale#handlers#elixr#FindMixProjectRoot
2018-09-28Add Perl6 support via 'perl6 -c'Travis Gibson
2018-09-28Add better support for Haskell stack compiler tools (#1851)Evan Borden
* 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-28Move ccls functions to autoload/ale/handlerYe Jingchen
Tests are kept as-is.
2018-09-25Bugfix: python add blank lines (#1944)Bert JW Regeer
* 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-20Merge pull request #1932 from rhysd/shfmt-default-indentw0rp
shfmt: Use Vim's indent config as default indent width
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-19#1872 Remove extra carriage returns when fixing files on Windowsw0rp
2018-09-19Merge pull request #1926 from gnustomp/masterw0rp
c#ParseCFlags: don't index empty list
2018-09-18Merge pull request #1928 from felipesere/masterw0rp
To avoid blocking build tools, suspend ALE when suspending vim
2018-09-18Stop tsserver from causing errors to be rendered redundantlyw0rp
2018-09-18shfmt: Use Vim's indent config as default indent widthrhysd
2018-09-17Handle failing to connect to eslint_dw0rp
2018-09-17#1794 - Handle LSP documentation content as a Dictionaryw0rp