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

This commit is contained in:
2023-10-13 21:46:48 +03:00
parent 043257bb64
commit ac2cf2ac58
+4 -2
View File
@@ -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."