Is it possible to get syntax highlighting and/or paren matching when using babashka on the command line?
@michaellan202 Note entirely sure what you mean, but you can get syntax highlighting with a tool called bat
which is a replacement for cat
. For editing code, I would just recommend doing that in an editor, possibly connected to the socket server or nrepl server of babashka.
sorry for the bad explanation, I meant if it would be possible to get syntax highlighting when I do bb '(print 3)'
for example. It is more of a tooling question than a babashka question, sorry about that 😅
@michaellan202 right, yeah, you can use https://github.com/borkdude/puget-cli to get highlighting of EDN output
bat
also works:
echo '(inc 1)' | bat -l clojure
awesome, thanks!