This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns front.utilities.i18n-impl | |
(:require [front.i18n])) | |
(defn build-domain-index [text-vec] | |
(let [by-msgid (atom (transient {})) | |
by-msg (atom (transient {}))] | |
(doseq [{:keys [s_message s_message_id] :as text} text-vec] | |
(when-not (clojure.string/blank? s_message_id) | |
(swap! by-msgid assoc! s_message_id text)) | |
(when-not (clojure.string/blank? s_message) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns tbd.step | |
(:require | |
[clojure.spec.alpha :as s])) | |
(s/def ::binding-kvp (s/cat :lhs symbol? :rhs any?)) | |
(s/def ::bindings | |
(s/and | |
vector? | |
(s/conformer vec vec) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// Disable crazy VSCode default bindings | |
{ | |
"key": "ctrl+shift+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.closeActiveEditor" | |
}, |
OlderNewer