aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/lean3ls.lua
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-07-24 06:21:56 +0200
committerGitHub <noreply@github.com>2021-07-23 21:21:56 -0700
commit169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2 (patch)
tree62a3e6d3179d6bc40e5c877380a357bc7ef7b50a /lua/lspconfig/lean3ls.lua
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.tar
nvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.tar.gz
nvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.tar.bz2
nvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.tar.lz
nvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.tar.xz
nvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.tar.zst
nvim-lspconfig-169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2.zip
docs: add a direct link to lean.nvim (for leanls and lean3ls) (#1062)
* update language of metals to bring it in line with lean
Diffstat (limited to 'lua/lspconfig/lean3ls.lua')
-rw-r--r--lua/lspconfig/lean3ls.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/lspconfig/lean3ls.lua b/lua/lspconfig/lean3ls.lua
index 412f0ec7..fa5c652e 100644
--- a/lua/lspconfig/lean3ls.lua
+++ b/lua/lspconfig/lean3ls.lua
@@ -28,6 +28,10 @@ Once Lean is installed, you can install the Lean 3 language server by running
```sh
npm install -g lean-language-server
```
+
+Note: that if you're using [lean.nvim](https://github.com/Julian/lean.nvim),
+that plugin fully handles the setup of the Lean language server,
+and you shouldn't set up `lean3ls` both with it and `lspconfig`.
]],
default_config = {
root_dir = [[root_pattern("leanpkg.toml") or root_pattern(".git") or path.dirname]],