Add support for the Lean 4 LSP, served by lake. (#4952)

This commit is contained in:
Benjamin Block
2025-04-25 21:48:39 -04:00
committed by GitHub
parent baaca9a5d7
commit d0cdde7516
10 changed files with 90 additions and 0 deletions

29
doc/ale-lean.txt Normal file
View File

@@ -0,0 +1,29 @@
===============================================================================
ALE Lean Integration *ale-lean-options*
*ale-integration-lean*
===============================================================================
Integration Information
Currently, the only supported LSP for Lean 4 is lake.
===============================================================================
lake *ale-lean-lake*
g:ale_lean_lake_executable *g:ale_lean_lake_executable*
*b:ale_lean_lake_executable*
Type: |String|
Default: `'lake'`
This variable can be modified to change the executable path for `lake`.
g:ale_lean_lake_config *g:ale_lean_lake_config*
*b:ale_lean_lake_config*
Type: |Dictionary|
Default: `{}`
Dictionary with configuration settings for lake.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

View File

@@ -370,6 +370,8 @@ Notes:
* `textlint`
* `vale`
* `write-good`
* Lean 4
* `lake`
* Less
* `lessc`
* `prettier`

View File

@@ -3632,6 +3632,8 @@ documented in additional help files.
cspell................................|ale-latex-cspell|
write-good............................|ale-latex-write-good|
textlint..............................|ale-latex-textlint|
lean....................................|ale-lean-options|
lake..................................|ale-lean-lake|
less....................................|ale-less-options|
lessc.................................|ale-less-lessc|
prettier..............................|ale-less-prettier|