Skip to content

server may panic on non ascii content #787

@trim21

Description

@trim21

I'm editing with CJK content in quoted string

thread '<unnamed>' (110116) panicked at crates\lsp\src\providers\completion.rs:553:30:
byte index 25 is not a char boundary; it is inside '最' (bytes 23..26) of `  comment: "2026-02-15 最后"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions