Skip to content

fix(neovim): Fix the undo history when formatting - #3941

Merged
yutkat merged 1 commit into
mainfrom
51.011
Aug 30, 2026
Merged

fix(neovim): Fix the undo history when formatting#3941
yutkat merged 1 commit into
mainfrom
51.011

Conversation

@yutkat

@yutkat yutkat commented Aug 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 30, 2026 11:04
@yutkat
yutkat merged commit 516237f into main Aug 30, 2026
7 of 10 checks passed
@yutkat
yutkat deleted the 51.011 branch August 30, 2026 11:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are small, localized to formatter configuration, and align with the stated goal of improving undo behavior during formatting.

Pull request overview

This PR updates the Neovim conform.nvim formatter configuration to improve formatting behavior, specifically targeting undo history consistency during format-on-save operations.

Changes:

  • Add jsonc filetype support using the biome formatter.
  • Return a richer format_on_save options table and enable undojoin to keep formatting changes in the expected undo sequence.
File summaries
File Description
.config/nvim/lua/rc/pluginconfig/conform.lua Adds jsonc formatting via Biome and enables undojoin in Conform’s format-on-save options to improve undo history behavior.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants