Skip to content

update diagnostic config#449

Merged
jdhao merged 1 commit intomainfrom
update-diganostic
Oct 26, 2025
Merged

update diagnostic config#449
jdhao merged 1 commit intomainfrom
update-diganostic

Conversation

@jdhao
Copy link
Owner

@jdhao jdhao commented Oct 26, 2025

dismiss diagnostic float win in insert mode

dismiss diagnostic float win in insert mode
@jdhao jdhao requested a review from Copilot October 26, 2025 23:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the diagnostic configuration to automatically dismiss diagnostic floating windows when entering insert mode, improving the editing experience by preventing diagnostic popups from obstructing code being typed.

Key Changes:

  • Added "InsertEnter" to diagnostic float window close events
  • Removed an unnecessary diagnostic disable comment

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lua/diagnostic-conf.lua Added "InsertEnter" event to close_events array to dismiss diagnostic floats in insert mode
lua/plugin_specs.lua Removed unused diagnostic disable comment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jdhao jdhao merged commit b6050a9 into main Oct 26, 2025
@jdhao jdhao deleted the update-diganostic branch October 26, 2025 23:19
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.

1 participant