tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Customise pprint function #406

Open SevereOverfl0w opened 1 year ago

SevereOverfl0w commented 1 year ago

Currently it's hardcoded to puget, it would be nice to customise it (e.g. for zprint)

frenchy64 commented 11 months ago

I think it's fipp now. I found more discussion here: https://github.com/tpope/vim-fireplace/commit/cb124b8a086fa89da9c11856df6f0994ba8767ef

fipp is causing me minor issues, also would be nice to have the option to switch to something more extensible (clojure.pprint).

AFAIU the issue is how to abstract over the following lines via configuration:

https://github.com/tpope/vim-fireplace/blob/f2be859ea48a761fd25a07efa037514f84abdf30/autoload/fireplace.vim#L1587-L1591