Skip to content

Commit

Permalink
Have syntax highlighting for longer commands
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Mar 21, 2024
1 parent ab05346 commit 183e8a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/eval/deps_try/try.clj
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
(doto (clj-line-reader/create
(rebel-service/create {:data-path data-path}))
(.setVariable LineReader/SECONDARY_PROMPT_PATTERN "%P ")
(.setVariable LineReader/FEATURES_MAX_BUFFER_SIZE 2000)
(.setVariable LineReader/HISTORY_SIZE "10000")
(.setVariable LineReader/HISTORY_FILE (str history-file))
(#(.setHistory % (history/make-history {:history-file history-file
Expand Down

0 comments on commit 183e8a6

Please sign in to comment.