aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* #5062 Purge all deeply nested invalid Lua keysw0rp2026-05-311-9/+33
|
* Fix #5062 - Keep ALE LSP compatible with Neovim 0.10 and 0.11+w0rp2026-02-121-19/+32
|
* fix: replace deprecated client.request method call with colon syntax (#5081)gumballriggy2026-01-251-2/+2
| | | | | | | | | | | * Update lsp.lua replace deprecated client.request method call with colon syntax * fixy same as b4 but for client.notify now * how did this even happen
* fix gopls without setting ale_go_gopls_init_options (#5059)halfcrazy2026-01-251-0/+8
|
* Set up Lua development for Macs with Homebreww0rp2025-03-282-1/+3
|
* #3600 Implement pull model with Neovim Clientw0rp2025-03-271-6/+43
| | | | | | Implement the diagnostics pull model with the LSP Neovim client. We must handle messages a little different and tweak client capabilities for pull diagnostics to work through the Neovim client.
* Implement ale.queue for calling ale#Queue in Luaw0rp2025-03-271-0/+15
|
* Implement ale.pad in Luaw0rp2025-03-271-0/+15
|
* Implement ale.get_filename_mappings in Luaw0rp2025-03-271-0/+21
|
* Add ale.has to mirror ale#Has in Luaw0rp2025-03-271-0/+9
|
* Add basic Lua ALE functions and test coveragew0rp2025-03-273-95/+158
| | | | | | | Ensure that basic ALE functions `ale.var`, `ale.escape`, and `ale.env` are available in Lua. Cover all Lua code so far with busted tests, fixing bugs where ALE variables can be set with Boolean values instead of numbers. Document all functionality so far.
* Implement Lua ALE setup & overhaul documentationw0rp2025-03-271-0/+46
| | | | | | | | 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.
* Add Neovim TCP connections to language serversw0rp2025-03-271-0/+25
| | | | | | | | Support TCP connections to language servers through Neovim's built in client. In all but what is currently the nightly builds of Neovim connections via a hostname will fail, but connections via an IP address should function. We will still enable the built in Neovim client by default anyway, as LSP clients very rarely connect over TCP.
* Supply language_id values to Neovim LSP APIw0rp2025-03-271-0/+4
| | | | | | | Change logic so ALE's LSP implementation and the Neovim LSP client retrieve the language_id for language clients at roughly the same time via the same means. This makes ALE inform the language server what the language for the language is for clients.
* Handle other LSP capabilities via ALEw0rp2025-03-271-5/+27
| | | | | | | | Save capabilities from language servers ALE connects to via Neovim's LSP client and handle responses to requests ALE sends to language servers. This enables ALE to work with Neovim's language client for its commands while also letting users directly use the connected clients for native Neovim keybinds and so on.
* Remove the log_level line from Lua codew0rp2025-03-271-2/+0
|
* Handle Neovim LSP diagnostics via ALE's functionsw0rp2025-03-271-0/+19
|
* Start up language servers with Neovim's APIw0rp2025-03-271-0/+62
| | | | | | 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.
* feat: remove logic for unsupported older Neovim (#4921)JINNOUCHI Yasushi2025-03-111-7/+1
| | | | | See #4872 Now we no longer support Neovim 0.6 or older, we can remove logic in Lua code for supporting it.
* Consider the original config for signs in Neovim (#4872)JINNOUCHI Yasushi2025-03-111-5/+25
| | | Preserve a user-configured sign priority in Neovim if set, and use the ALE setting if not configured otherwise.
* #4607 No conflicts with nvim-lspconfig by defaultw0rp2023-09-142-0/+14
| | | | | | | | | | 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.
* #4442 Display error codes in Neovim diagnosticsw0rp2023-09-091-0/+2
|
* #4442 Configure signs in Neovim diagnosticsw0rp2023-09-081-2/+31
| | | | | Respect ALE's options to enable/disable signs in Neovim diagnostics, and use ALE's priority setting.
* fix(neovim): ignore unrelated diagnostics (#4597)xu0o02023-09-051-22/+24
| | | Fix the NeoVim diagnostics bridge so it only sends over diagnostics relevant to the current buffer.
* Fix mismatched type on compare g:ale_virtualtext_cursor (#4476)jiz4oh2023-03-091-1/+1
|
* diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)Ben Boeckel2023-01-291-0/+49
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>