"Indent visual width" is not working

Steps to reproduce

  1. Disable Indent using tabs
  2. Set the indent visual width to 2

Did you follow the troubleshooting guide? [Y/N]

y

Expected result

Pressing the tab key inserts two spaces.

Actual result

Pressing the tab key inserts four spaces.

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: #1 SMP PREEMPT_DYNAMIC Fri, 09 May 2025 08:29:37 +0000 6.12.28-1-lts
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

It’s the “visual” width of the indentation. It has nothing to do with with the number of characters a tab keypress is converted to (which is always fixed at 4)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.