How can I change this map vscode/window.activeTextEditor.options I'm not sure how to work with JS object.
Something like:
(set! (.-cursorStyle vscode/window.activeTextEditor.options) 2)
Is that what you are looking for?
You can also construct a new options object and assign that:
(set! (.-options vscode/window.activeTextEditor) (clj->js (assoc (js->clj vscode/window.activeTextEditor.options :keywordize-keys true) :cursorStyle 2)))Perfect, thank you!