Fix the bug that the default language symbols override the symbols.
continuous-integration/drone/push Build is passing Details

dev 0.6.1
KKlochko 2 years ago
parent 043257bb64
commit ac2cf2ac58

@ -122,8 +122,10 @@
(defn set-symbols (defn set-symbols
"Set defaults symbols for a language." "Set defaults symbols for a language."
[options] [options]
(set-option options :symbols (if (contains? options :language)
(sf/default-symbol-factory (:language options)))) (set-option options :symbols
(sf/default-symbol-factory (:language options)))
options))
(defn load-and-set-option (defn load-and-set-option
"Load the option and set it." "Load the option and set it."

Loading…
Cancel
Save