mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 09:56:25 +10:00
Problem: The function get_logical_pos did not account for the possibility that a diagnostic might not have an associated extmark, leading to potential errors or incorrect behavior. Solution: Add a check for diagnostic._extmark_id and return the logical positions directly if it does not exist.