Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Foldmethod is not reset after :Diffoff #39

Open
@savchenko

Description

After executing :Diffoff, foldmethod stays at diff. Can be reproduced as following:

  1. Open two files in vertical splits, have foldmethod set to marker
  2. Switch to visual mode, select lines in both
  3. :Diffthis
  4. Execute :Diffoff in both splits
  5. :set foldmethod?

On the side-note, I would be handy to have single command that exits the diff mode and restores the window layout back to what it was.

Tested on nvim v0.10.2

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

        AltStyle によって変換されたページ (->オリジナル) /