mirror of
https://github.com/neovim/neovim.git
synced 2026-07-16 14:11:28 +00:00
refactor(diagnostic): split diagnostic module
Extract the diagnostic implementation from runtime/lua/vim/diagnostic.lua into focused internal modules covering config, display, float rendering, jump/list helpers, namespace and storage management, severity/shared utilities, and statusline support. Move the builtin handlers into runtime/lua/vim/diagnostic/handlers/ and keep runtime/lua/vim/diagnostic.lua as the public facade that lazily dispatches to the split modules. This preserves the external vim.diagnostic API while making the implementation easier to navigate and reason about. AI-assisted: Codex
This commit is contained in:
committed by
Lewis Russell
parent
9e80f63c30
commit
1f53abf54b