-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: cleanup imports in Lean.Lsp (#6523)
This PR splits a definition out of `Lean.Lsp.Basic`, with the effect that material about JSON is not needed for `Lean.Meta.Sorry` and its dependencies.
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/- | ||
Copyright (c) 2020 Marc Huisinga. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Marc Huisinga, Wojciech Nawrocki | ||
-/ | ||
prelude | ||
import Lean.Data.JsonRpc | ||
|
||
/-! # Defines `Lean.Lsp.CancelParams`. | ||
This is separate from `Lean.Data.Lsp.Basic` to reduce transitive dependencies. | ||
-/ | ||
|
||
namespace Lean | ||
namespace Lsp | ||
|
||
open Json | ||
|
||
structure CancelParams where | ||
id : JsonRpc.RequestID | ||
deriving Inhabited, BEq, ToJson, FromJson | ||
|
||
end Lsp | ||
end Lean |