joyride

Ivan Koz 2022-06-23T06:40:50.685469Z

How can I change this map vscode/window.activeTextEditor.options I'm not sure how to work with JS object.

pez 2022-06-23T06:57:01.031149Z

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)))

Ivan Koz 2022-06-23T06:59:11.866389Z

Perfect, thank you!