fix: use builtin code action for "try this"
This commit is contained in:
parent
79a9f6759a
commit
d0fb48b4e4
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ structure TryThisInfo : Type where
|
|||
This is a code action provider that looks for `TryThisInfo` nodes and supplies a code action to
|
||||
apply the replacement.
|
||||
-/
|
||||
@[code_action_provider] def tryThisProvider : CodeActionProvider := fun params snap => do
|
||||
@[builtin_code_action_provider] def tryThisProvider : CodeActionProvider := fun params snap => do
|
||||
let doc ← readDoc
|
||||
pure <| snap.infoTree.foldInfo (init := #[]) fun _ctx info result => Id.run do
|
||||
let .ofCustomInfo { stx, value } := info | result
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue