zls icon indicating copy to clipboard operation
zls copied to clipboard

hover over multi line function in nested block has incorrect formatting

Open Techatrix opened this issue 1 year ago • 1 comments

const S = struct {
    pub fn foo(
        alpha: u32,
        beta: u32,
    ) void {
        _ = alpha;
        _ = beta;
    }
};

When hovering over foo displays the function with weird formatting: Screenshot From 2024-12-11 16-55-48

Techatrix avatar Dec 11 '24 15:12 Techatrix

looks like there was a pr for this https://github.com/zigtools/zls/pull/2025 but it was just closed

xdBronch avatar Dec 11 '24 17:12 xdBronch