feat: add show-command-doc? config

This commit is contained in:
Junyu Zhan
2021-06-08 00:28:01 +08:00
committed by Tienson Qin
parent c123f978a5
commit 9e3c197d8e
3 changed files with 10 additions and 2 deletions

View File

@@ -429,7 +429,7 @@
;; (remove #(= leader-parent %)))]
;; (prn "followers: " (count followers))
;; ))
)))
)))
(defn get-edit-input-id
[]
@@ -1060,6 +1060,12 @@
:ui/enable-tooltip?
true))
(defn show-command-doc?
[]
(get (get (sub-config) (get-current-repo))
:ui/show-command-doc?
true))
(defn set-config!
[repo-url value]
(set-state! [:config repo-url] value))