Fix the bug that the default language symbols override the symbols.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -122,8 +122,10 @@
|
|||||||
(defn set-symbols
|
(defn set-symbols
|
||||||
"Set defaults symbols for a language."
|
"Set defaults symbols for a language."
|
||||||
[options]
|
[options]
|
||||||
|
(if (contains? options :language)
|
||||||
(set-option options :symbols
|
(set-option options :symbols
|
||||||
(sf/default-symbol-factory (:language options))))
|
(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."
|
||||||
|
|||||||
Reference in New Issue
Block a user