Skip to content

Clarify whether $0 can be a placeholder (${0:foo}) #2146

@intxff

Description

@intxff

Please reopen this issue.

The current definition is very vague, with the following 4 scenarios:

  1. $0 as the final endpoint (implemented in Neovim)
  2. ${0:placeholder} as the final endpoint
  3. $0 as the starting point
  4. ${0:placeholder} as the starting point (implemented in Dart LSP).

Although the other two scenarios have not been encountered in my practice, they still comply with the protocol. Using Dart on Neovim is very frustrating for me. Due to the overly broad protocol definition, I am not even sure if this issue should be addressed by Dart or Neovim.

If you close this issue without any reply, I will assume that you acknowledge the 4 scenarios, and I can use this issue as reference to report to Neovim. Otherwise, please provide a clear definition before closing this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions