Skip to content

Sneak_f in operator-pending mode is incorrect if the target is on eol/eof #291

Open
@tomtomjhj

Description

@tomtomjhj

Configuration (tested on latest nvim/vim):

omap f <Plug>Sneak_f

Buggy cases:

  • cursor on q, run dfy
    qwerty
    
    • expected:
      
      
    • actual behavior: the target char is not deleted
      y
      
  • cursor on q, run dfy
    qwerty
    a
    
    • expected:
      
      a
      
    • actual behavior: deletes newline char
      a
      

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