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
|
||||
"Set defaults symbols for a language."
|
||||
[options]
|
||||
(set-option options :symbols
|
||||
(sf/default-symbol-factory (:language options))))
|
||||
(if (contains? options :language)
|
||||
(set-option options :symbols
|
||||
(sf/default-symbol-factory (:language options)))
|
||||
options))
|
||||
|
||||
(defn load-and-set-option
|
||||
"Load the option and set it."
|
||||
|
||||
Reference in New Issue
Block a user