Skip to content

Mark changes triggered by edits as OTHER for on-type-formatting - #2854

Merged
rchl merged 1 commit into
mainfrom
fix/change-event
Apr 8, 2026
Merged

rchl merged 1 commit into
mainfrom
fix/change-event

Conversation

@rchl

@rchl rchl commented Apr 7, 2026

Copy link
Copy Markdown
Member

Mark any edit triggered by lsp_apply_document_edit as ChangeEventAction.OTHER for the purpose of not triggering OnTypeFormatting in that case.

Fixes #2853

@rchl
rchl merged commit 9cfb6a7 into main Apr 8, 2026
8 checks passed
@rchl
rchl deleted the fix/change-event branch April 8, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

formatOnType experience report (+ bugs?)

2 participants