Skip to content

Renaming lifetimes doesn't work (protocol error: InvalidParams: Invalid name pallete_view: not a lifetime identifier) #6060

Closed
@dogunbound

Description

Summary

Make a struct with lifetime requirements. Try renaming them with <space>-r. You should get this error: protocol error: InvalidParams: Invalid name pallete_view: not a lifetime identifier

2023-02-19.16-40-14.mp4

Reproduction Steps

Open file with helix

make a struct with lifetimes, or use this one:

struct MyStruct<'lifetime_1> {
  m: &'lifetime_1 i32
}

Try renaming 'lifetime_1 to 'a with <space>-r

Helix log

helix.log

Platform

Linux

Terminal Emulator

Konsole

Helix Version

22.12

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions