Skip to content

forward-sexp position error. #46

@zw963

Description

@zw963

Plese check following code:

def self.get_user_by_auth_token(auth_token)
  decoded_open_id = decoded["open_id"]?

  if decoded_auth_token_salt.nil?
    return nil
  end

  user
end

When the cursor is upon the def, after pressing C-M-F, What we expected is to jump to the last line after end.

But, the actual behavior is: (cursor is I)

def self.get_user_by_auth_token(auth_token)
  decoded_open_id = decoded["open_id"]?

  if decoded_auth_token_salt.nil?
    return nil
  endI

  user
end

the jumped position is after the end of if.

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