我想为所有苹果酒输出设置填充列值。我正在使用:
(require 'cider)
(setq cider-show-error-buffer nil
cider-docview-fill-column 76
cider-stacktrace-fill-column 76
nrepl-buffer-name-show-port nil
cider-repl-display-in-current-window t
cider-repl-result-prefix ";; => ")
但是当我致电meta
时,我明白了:
user> (meta #'str)
;; => {:added "1.0", :ns #<Namespace clojure.core>, :name str, :file "clojure/core.clj", :static true, :column 1, :line 511, :tag java.lang.String, :arglists ([] [x] [x & ys]), :doc "With no args, returns the empty string. With one arg x, returns\n x.toString(). (str nil) returns the empty string. With more than\n one arg, returns the concatenation of the str values of the args."}
一条线上的一切。我打赌有一些变量cider-...-fill-column
可以帮助我。我用Google搜索,但只找到cider-docview-fill-column
和cider-stacktrace-fill-column
。
答案 0 :(得分:3)
没有这样的REPL填充列变量,但您可以在REPL中启用eval结果的漂亮打印(请参阅REPL的菜单)。您可以通过以下配置启用它:
(setq cider-repl-use-pretty-printing t)