mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 00:31:57 +03:00
Add IDE mode commands for gdnext and psnext
I forgot to add these to the parser!
This commit is contained in:
parent
3a0a566607
commit
f33873d051
@ -93,8 +93,10 @@ getIDECommand (SExpList [SymbolAtom "proof-search", IntegerAtom l, StringAtom n,
|
||||
where
|
||||
getMode : String -> Bool
|
||||
getMode m = m == "all"
|
||||
getIDECommand (SymbolAtom "proof-search-next") = Just ExprSearchNext
|
||||
getIDECommand (SExpList [SymbolAtom "generate-def", IntegerAtom l, StringAtom n])
|
||||
= Just $ GenerateDef l n
|
||||
getIDECommand (SymbolAtom "generate-def-next") = Just GenerateDefNext
|
||||
getIDECommand (SExpList [SymbolAtom "make-lemma", IntegerAtom l, StringAtom n])
|
||||
= Just $ MakeLemma l n
|
||||
getIDECommand (SExpList [SymbolAtom "make-case", IntegerAtom l, StringAtom n])
|
||||
|
Loading…
Reference in New Issue
Block a user