aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement Lua ALE setup & overhaul documentationw0rp2025-03-271-69/+72
| | | | | | | | 1. Add ale.setup and ale.setup.buffer for pure Lua configuration. 2. Update many global settings to use Booleans instead of numbers to make types easiert to work with in Lua. 3. Radically reformat documentation and fix errors to make documentation more usable for Neovim users.
* Update documentation for Neovim LSP integrationw0rp2025-03-271-0/+2
| | | | | | Update documentation to advertise ALE's integration with Neovim's native LSP client, and explain how functionality is integrated with ALE, Neovim's native tools, and other plugins.
* Start up language servers with Neovim's APIw0rp2025-03-271-0/+10
| | | | | | Get language servers starting and displaying diagnostics with Neovim's API in Neovim 0.8 and up. With this set up, now ALE needs to take over handling diagnostics returned by the language servers.
* Update the minimum supported Neovim version to 0.7w0rp2025-03-111-5/+5
|
* Improve support for python package manage: pipenv, poetry and uv (#4825)Diego Henrique Oliveira2024-09-051-0/+3
|
* Close #4458 - Add an ALEStopLSP commandw0rp2023-09-161-0/+2
| | | | | | | Add an ALEStopLSP command to stop all language servers that match a given name. Completions are available for the command. This makes it possible to keep other language servers running other than the one you're interested in stopping.
* #4607 No conflicts with nvim-lspconfig by defaultw0rp2023-09-141-0/+4
| | | | | | | | | | Default `g:ale_disable_lsp` to a new mode `'auto'` by default. With this setting applied, ALE will now check for the presence of nvim-lspconfig and automatically turn off particular LSP linters if already configured via nvim-lspconfig. For users that do not use `nvim-lspconfig`, everything should work as before.
* Close #4442 - Use Neovim diagnostics by defaultw0rp2023-09-091-1/+1
| | | | | | Use Neovim's diagnostics API by default in recent enough Neovim versions. This will make problems found by ALE play nicely with problems found by other tools.
* Update minimum supported NeoVim version to 0.6.0w0rp2023-09-071-1/+2
| | | | | Stop officially supporting NeoVim versions below 0.6.0, without necessarily breaking ALE for people using older versions.
* Close #3368 - Supercharge :ALEInfow0rp2023-09-061-3/+7
| | | | | | | | | | | | | Make a series of sweeping changes to make :ALEInfo more useful. 1. Deprecate :ALEInfoToClipboard and support :ALEInfo -clipboard 2. Permit :ALEInfo -clip as a shorthand for :ALEInfo -clipboard 3. Support :ALEInfo -preview to render in the preview window 4. Support :ALEInfo -echo for the classic :ALEInfo mode 5. Change the default mode to 'preview', and make it configurable 6. Add syntax highlighting for ALEInfo in preview mode 7. Add a convenience to look up documentatation that explains itself 8. Don't show an empty 'Linter Variables' section
* Add an option to save hidden buffersw0rp2023-09-061-0/+3
| | | | | | | When commands are run, it can be useful to just save the hidden buffers so language servers immediately get updated with changes to files without you having to manually save each file. You can now enable this by setting `g:ale_save_hidden` to `1`.
* #2172 Auto PATH with ale_python_auto_virtualenvw0rp2023-02-081-0/+4
| | | | | | Automatically set `PATH` for some Python linters that seem to need it when g:ale_python_auto_virtualenv or b:ale_python_auto_virtualenv is `1`.
* diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)Ben Boeckel2023-01-291-0/+9
| | | | | | | | | Support replacing ALE's display of problems with sending problems to the Neovim diagnostics API. :help g:ale_use_neovim_diagnostics_api Co-authored-by: David Balatero <dbalatero@users.noreply.github.com> Co-authored-by: Georgi Angelchev <angelchev@live.co.uk> Co-authored-by: w0rp <devw0rp@gmail.com>
* Close #4396 - Enable virtualtext by defaultw0rp2022-12-251-1/+1
| | | | Wherever it's supported, enable virtualtext by default.
* Close #4397 - Add human-readable values for g:ale_virtualtext_cursorw0rp2022-12-251-2/+2
|
* fix: missing plug mapping `ale_go_to_implementation` (#4337)U1s2e3r4n5a6m7e2022-11-251-0/+1
| | | Co-authored-by: Tiffany <taftaftesed@gmail.com>
* Fix typo in plug mapping for `ale_go_to_implementation_in_vsplit` (#4304)Nate Pinsky2022-09-081-1/+1
|
* Allow customization of all floating window borders (#4215)Devin J. Pohly2022-05-271-4/+5
| | | | | | | | | | | | * Allow customization of all floating window borders Users may not necessarily want the same border character for top+bottom or left+right, so allow all eight border characters to be configured in g:ale_floating_window_border. For backwards compatibility, the old rules are still applied if only six elements are given. * Reorder popup border array for compatibility
* Add ALEGoToImplementation (#4160)godbless2022-04-301-0/+6
| | | | | | | * Add go to implementation * Add test cases for GoToImplementation * Add documentation for GoToImplementation
* Fix test for echoing messagesw0rp2022-04-011-2/+4
| | | | | | The previous linter rule about stray echo lines has been restored, and now all problems for custom linting rules can be ignored by adding a comment above problem lines.
* Add ALEPopulateQuickfix and ALEPopulateLocList (#3761)David Briscoe2022-02-041-0/+4
| | | | | | | Closes #1810 Add ALEPopulateQuickfix and ALEPopulateLocList. They're not very useful with ale's default auto-populate behaviour, so their useful configuration is described in help.
* ALEFileRename command added. (#4012)Dalius Dobravolskas2021-12-171-0/+4
| | | | | | | | | | | | * ALEFileRename command added. This command renames file and uses tsserver `getEditsForFileRename` to fix import paths in Typescript files. * ale#util#Input fix * Even more fixes. * Linting error fix.
* Add importMap option to deno Initialization Options (#3827)Arnold Chand2021-07-251-0/+3
| | | | | | | | | | | | | | | | | | | * feat(deno): move init options to handlers * feat(deno): add deno lsp support for js files * feat(deno): use default map option * feat(docs): add deno import map option * feat(deno): add tests for importMap option * fix(deno): use full path in importMap * feat(deno): remove deno as linter for js, separate PR * fix(deno): test for executable * fix(deno-test): include filename to simplify function
* Python support poetry (#3834)Daniel Roseman2021-07-251-0/+3
| | | | | | | | | | | | | * Add poetry support to python linters and black fixer. * Update python.vim to detect poetry project. * Update ale.vim, add an option for poetry `g:ale_python_auto_poetry`. * Update ale-python.txt, add poetry support. * Add and update poetry related tests. Co-authored-by: unc0 <unc0@users.noreply.github.com>
* Add borders for floating windows in Neovim (#3603)Yen32021-03-011-0/+5
| | | | | | * Add borders for floating windows in Neovim * Add docs for floating window border setting Co-authored-by: w0rp <w0rp@users.noreply.github.com>
* #3599 - Use ale_root instead of ale_lsp_rootw0rp2021-03-011-3/+3
| | | | | | The `ale_lsp_root` setting is now deprecated, and `ale_root` should be used instead. The setting will be used for both setting the root easily for LSP linters, and for running other linters over whole projects.
* #3362 Disable LSP/tsserver hints/suggestions by defaultw0rp2021-02-061-0/+3
|
* Add nvim floating window support (replaces #3314) (#3470)Kevin Clark2021-01-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use has('gui_running') instead of has('gui')w0rp2020-11-211-1/+1
|
* Close #2727 - Add a hover-only setting for balloonsw0rp2020-11-211-1/+1
|
* Fix #3332 - Modify everything for rename/actionsw0rp2020-11-211-1/+1
| | | | | | ALE now just modifies every open buffer for rename and actions, and sets up a one-time use BufEnter event to reload buffers that are changed so you don't have to think about what to do with changed buffers.
* Close #1466 - Add GVIM refactor menu supportw0rp2020-11-211-0/+7
| | | | | Code actions and ALERename now appear in the right click context menu for GVim by default.
* Update documentation for code actions and renamew0rp2020-11-141-0/+1
|
* Support for LSP/tsserver Code Actions (#3437)Dalius Dobravolskas2020-11-141-0/+3
| | | | | | | | | | | | | | | | | | * Added tsserver and LSP code action support. * tsserver refactors support added. * Handling special case when new text is added after new line symbol. * ale#code_action#ApplyChanges simplified. * Initial attempt on LSP Code Actions. * workspace/executeCommand added. * Some null checks added. * Add last column to LSP Code Action message. * Pass diagnostics to LSP code action. Previously ApplyChanges code was applied from top-to-bottom that required extra parameters to track progress and there was bug. I have changed code to bottom-to-top approach as that does not require those extra parameters and solved the bug. Tested with typescript-language-server and it is working.
* #3332 Implement :ALERename! for ignoring errorsw0rp2020-10-151-1/+1
| | | | | :ALERename! now ignores errors for files that cannot be modified, and modifies all other files.
* Close #3333 - Add an ALECompletePost eventw0rp2020-09-081-1/+3
| | | | | | | | Add an `ALECompletePost` event along with everything needed to make it useful for its primary purpose: fixing code after inserting completions. * `ALEFix` can now be called with a bang (`!`) to suppress errors. * A new `ALELintStop` command lets you stop linting, and start it later.
* Close #3268 - Implement :ALEImportw0rp2020-09-061-0/+5
| | | | | | A new command, `:ALEImport`, has been added, which lets you import words at your cursor if a completion provider can provide a completion for that word which includes some additional text changes.
* Close #2556 - Support filename mappingw0rp2020-08-231-0/+4
| | | | | ALE now supports mapping files between different systems for running linters and fixers with Docker, in virtual machines, in servers, etc.
* Remove features deprecated in previous versionsw0rp2020-08-181-18/+6
|
* #1532 - Display hover information on CursorHoldw0rp2020-08-041-0/+3
|
* Closes #3019 - Implement default navigationw0rp2020-04-151-14/+24
| | | | | | | Default navigation for commands that jump to new locations has been implemented with the `ale_default_navigation` variable, and all commands that jump to locations now support `-tab`, `-split`, or `-vsplit` arguments for overriding the default navigation behavior.
* Fixes #2982 - Implement g:ale_exclude_highlightsw0rp2020-03-111-0/+3
| | | | | Particular highlights can now be excluded by providing Lists of regular expressions.
* Add option to show hover messages in preview.Ildar Akhmetgaleev2019-10-121-0/+3
| | | | | Add new option 'ale_hover_to_preview' to show hover messages in preview window.
* Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto ↵Jerko Steiner2019-09-121-0/+7
| | | | | import support (tsserver) (#2709) This commit adds support for renaming symbols in tsserver and with LSP tools, and for organising imports with tsserver. Completion results for symbols that can be imported are now suggested if enabled for tsserver completion done via ALE.
* Fix #2668 - Set g:ale_go_go111modulew0rp2019-08-021-0/+3
|
* Lint on InsertLeave, not in insert mode by defaultw0rp2019-06-101-4/+4
| | | | | | b:ale_lint_on_insert_leave is now supported as tests need it. These defaults are saner and cause fewer issues for users by default.
* Close #1753 - Implement minimum viable integration with Deopletew0rp2019-04-231-1/+1
|
* Fix #2326 - ALEComplete no longer replaces completeoptw0rp2019-03-081-1/+1
|
* Supporting filtered jump (#2279)Théo Cavignac2019-02-101-2/+13
| | | | | | | | * Support filtered jump based on loclist item type (E or W for now) * Use flags to customize the behavior of ALENext and ALEPrevious * Update <plug> bindings with flags * Update documentation about ALENext and ALEPrevious * Use ale#args#Parse in JumpWrap
* Update syntax checkingw0rp2019-02-061-1/+1
| | | | | * Line continuation characters should be on the same lines. * .vim file line indentation should be a multiple of 4.