Skip to content

refactor(indent): never attach scope if disabled in config - #2805

Open
llakala wants to merge 1 commit into
folke:mainfrom
llakala:dont-require-scopes
Open

llakala wants to merge 1 commit into
folke:mainfrom
llakala:dont-require-scopes

Conversation

@llakala

@llakala llakala commented Apr 5, 2026

Copy link
Copy Markdown

This meaningfully improves my startup performance by never calling snacks.scopes.attach if the user has config.scope.enabled set to false.

Before:
image
After:
image

This changes nothing if the user has scope drawing enabled.

@github-actions github-actions Bot added indent size/s Small PR (<10 lines changed) labels Apr 5, 2026
@llakala
llakala force-pushed the dont-require-scopes branch from 47ca25a to 8122428 Compare August 3, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

indent size/s Small PR (<10 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant