From 169c5cd56aafc11dfe89b1c85d39e4d816d7f4e2 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 24 Jul 2021 06:21:56 +0200 Subject: docs: add a direct link to lean.nvim (for leanls and lean3ls) (#1062) * update language of metals to bring it in line with lean --- lua/lspconfig/leanls.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/lspconfig/leanls.lua') diff --git a/lua/lspconfig/leanls.lua b/lua/lspconfig/leanls.lua index 625e07ae..ff6656c6 100644 --- a/lua/lspconfig/leanls.lua +++ b/lua/lspconfig/leanls.lua @@ -26,6 +26,10 @@ Lean installation instructions can be found The Lean 4 language server is built-in with a Lean 4 install (and can be manually run with, e.g., `lean --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 `leanls` both with it and `lspconfig`. ]], default_config = { root_dir = [[root_pattern("leanpkg.toml") or root_pattern(".git") or path.dirname]], -- cgit v1.2.3-70-g09d2