Skip to content

Harpoon2 does not handle Neovim's E325 swap file found. #692

@Mathijs-Bakker

Description

@Mathijs-Bakker

Description:

When opening a file from the Harpoon list, if Neovim detects a swap file, Harpoon2 does not handle it. Instead, Neovim shows the default swap file warning in the command line, which interrupts the otherwise smooth Harpoon workflow.

Steps to Reproduce:

  • Open a file in Neovim
  • Mark it with Harpoon so it's in the Harpoon List
  • Close the terminal with the file still open in Neovim (make sure you're not in a Tmux session)
  • Fire up the terminal, open Nvim and select the file from the Harpoon list.
  • Withness Neovim showing an unreadable E325 swap file found message and an error caused by the Harpoon plugin.
Image

Expected Behavior:

Harpoon should present a consistent workflow when swap files are detected, rather than leaving the user with the raw Neovim warning.

Actual Behavior:

The default Neovim swap file warning is shown, and Harpoon does not provide any handling for it.

Simular Issues:

#570

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