also print input expression with \e

This commit is contained in:
rhiannon morris 2023-05-28 14:44:12 +02:00
parent 2c89714506
commit 9c35464b69

View file

@ -259,7 +259,7 @@ function! IdrisEval()
w w
let expr = input ("Expression: ") let expr = input ("Expression: ")
let result = s:IdrisCommand(expr) let result = s:IdrisCommand(expr)
call IWrite(" = " . result) call IWrite(expr . " =\n" . result)
endfunction endfunction
nnoremap <buffer> <silent> <LocalLeader>t :call IdrisShowType(0)<ENTER> nnoremap <buffer> <silent> <LocalLeader>t :call IdrisShowType(0)<ENTER>