Skip to content

When using preview for open documents, :w won't set the document to "permanent" #9697

Open
@mangas

Description

@mangas

Describe the bug
When using preview, :w doesn't remove the document from preview. Looking at the code it seems it does that if :w [FILENAME] is used here

To Reproduce
Steps to reproduce the behavior:

  1. Enable preview from quick open and Preview from code navigation
  2. Open document
  3. Use command :w
  4. Note that the document is still in preview
  5. Type Cmd+s
  6. Note the document has left preview

Expected behavior
Match save

  • Extension (VsCodeVim) version:
  • VSCode version:
  • OS:

Additional context
Add any other context about the problem here.

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