Skip to content

function with pattern matched map,cursor move to end,happen error. #479

Open
@sjava

Description

@sjava
  def delete(conn, %{"id" => id}) do
    user = Accounts.get_user!(id)

    with {:ok, %User{}} <- Accounts.delete_user(user) do
      send_resp(conn, :no_content, "")
    end
  end

when cursor move to end,neovim appear :
E15: Invalid expression: %#elixirStringDelimiter#"%#elixirString#id%#elixirStringDelimiter#"%#elixirArguments# %#elixirOperator#=>%#elixirArguments# id

Metadata

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