Skip to content

Commit dac595d

Browse files
committed
Remove 2 references to lspconfig in the README.
1 parent d1d41da commit dac595d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ This can be configured by putting a line at the top of your `~/.config/nvim/init
143143
> My (Julian's) `<Leader>` is set to `<Space>`, and my `<LocalLeader>` to `<Space><Space>`, which may be a good choice for you if you have no other preference.
144144
145145
> [!TIP]
146-
> If you are also looking for a way to restart the Lean server entirely (rather than just refresh the current file), you can use the `:LspRestart` command which comes from `nvim-lspconfig`, or Neovim's builtin API, `vim.lsp.stop_client(vim.lsp.get_clients())`.
146+
> If you are also looking for a way to restart the Lean server entirely (rather than just refresh the current file), the current Neovim way to do so is to run `vim.lsp.enable('leanls', false)` followed by `vim.lsp.enable('leanls')`, which stops the LSP client and then restarts it respectively.
147147
> You may wish to bind one of these to a key if you find yourself doing it often; these operations work for any language server and any language, not just Lean.
148148
149149
### In Infoview Windows
@@ -178,9 +178,7 @@ This can be configured by putting a line at the top of your `~/.config/nvim/init
178178
--
179179
-- false to disable, otherwise should be a table of options to pass to `leanls`
180180
--
181-
-- See https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#leanls for details.
182-
-- In particular ensure you have followed instructions setting up a callback
183-
-- for `LspAttach` which sets your key bindings!
181+
-- See :help vim.lsp.Config for details.
184182
lsp = {
185183
init_options = {
186184
-- See Lean.Lsp.InitializationOptions for details and further options.

0 commit comments

Comments
 (0)