Skip to content

LSP hang/crash on certain kinds of syntax error? #1406

@DanCardin

Description

@DanCardin

Summary

The act of going from:

def foo(self, key, value):
    return

to

def foo(self, **key, value):
    return

by typing the ** hangs neovim for me. I'm not sure how to take neovim out of the loop here, but given that this kind of instant hang is, so far, unique to ty i'm hoping it's straightforward to reproduce whether or not neovim is involved.

I dont see this problem on alpha 14, but do for every version afterward.

Version

ty 0.0.1-alpha.15 (0369a35 2025-07-18) onward

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions