marimo
marimo copied to clipboard
Allow configuring editor tab size
Description
I'd like if I could configure the tab size/width being used by the code editor to something other than 4.
I found the relevant code https://github.com/marimo-team/marimo/blob/main/frontend/src/core/codemirror/cm.ts#L200 which sets this to 4 by default using indentUnit.of(" ")
Suggested solution
Either a setting in the UI or maybe a way of inferring the tab size from the formatter config would be greatly appreciated
Thanks!
Alternative
No response
Additional context
No response
+1 for this, requires synchronise of ruff default?
+1 for this. this is so basic...
+1