aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/leanls.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename "server_configurations" => "configs" #3330Justin M. Keyes2024-10-011-52/+0
| | | | | | | | | | | | | | Problem: The name `server_configurations` is extremely verbose and irritatingly formal and dogmatic. This overlong name is a constant nuisance when reading, writing, and coding. It's also not even correct: these configurations are just as much "client" configurations as they are "server" configurations. Solution: - Rename to a shorter name. - Leave placeholder files for any old URLs that link to the old location.
* feat(leanls): add support for lakefile.toml-only packages (#3238)Julian Berman2024-07-181-29/+4
| | | | | | | | | | | | This is partially a bugfix, as such packages would appear to function correctly because we fell back to `lean --server` -- but that is a lie, as it means `lake` doesn't control the LSP environment (and specifically it means that shared objects aren't correctly found for a package which prebuilds them with prebuildModules). While we're here, remove said ancient Lean 4 logic for versions no one has used for years, simplifying the startup (and saving a subprocess). It'd have been better to fail loudly here rather than falling back to confusing errors.
* fix(leanls): move legacy_cmd -> options.non_lake_lsp_cmdJulian Berman2022-02-181-4/+7
|
* fix(leanls): support new src/lean directoryGabriel Ebner2022-02-101-0/+6
|
* fix(leanls): only use lake serve if lakefile.lean existsGabriel Ebner2022-02-091-15/+20
|
* feat(leanls): start the LSP via lake serve (#1698)Julian Berman2022-02-051-1/+18
| | | | | | | | | | Enables workspace symbols for the Lean 4 LSP. Older versions of Lake (and Lean 4) lack a serve command, so on those we fallback to the old behavior by directly starting the LSP. Closes: Julian/lean.nvim#229 Refs: leanprover/lake#46
* feat(leanls): add root dir as command-line arg (#1634)Gabriel Ebner2022-01-041-0/+4
| | | | | | | | | The argument is ignored by the server, but it is useful because it is shown by `htop`, `ps ax`, etc., so you can figure out which Lean servers are running. The lean3ls doesn't require a corresponding change: we use the `lean-language-server` wrapper, which appends the root directory itself to the wrapped `lean --server` command.
* fix: use forward delineated paths in leanlsps (#1610)Julian Berman2021-12-261-1/+2
|
* chore: clean up importsMichael Lingelbach2021-11-251-1/+1
|
* feat: expose configsMichael Lingelbach2021-11-251-0/+41