From c287ce0ee3c2dd7b2077fd8eaefacffd7c623f1a Mon Sep 17 00:00:00 2001 From: Muu Date: Wed, 2 Dec 2026 17:18:57 +0800 Subject: [PATCH] fix(python): indent @property inside the class body in the color scheme sample (#7460) The Python sample in Editor > Color Scheme > Python showed @property at column 0 while the def alias it decorates was indented inside class Foo. The decorator line now has the same four-space indent. Co-authored-by: muutot <92625353+muutot@users.noreply.github.com> --- src/features/settings/pages/editor/ColorSchemeBody.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/settings/pages/editor/ColorSchemeBody.tsx b/src/features/settings/pages/editor/ColorSchemeBody.tsx index 3aee75e6b..b360520e8 100644 --- a/src/features/settings/pages/editor/ColorSchemeBody.tsx +++ b/src/features/settings/pages/editor/ColorSchemeBody.tsx @@ -630,7 +630,7 @@ const SAMPLES: Record = { [")", "pyParentheses"], ], [], - [["@property", "pyDecorator"]], + [[" @property", "pyDecorator"]], [ [" def ", "pyKeyword"], ["alias", "pyProperty"],