Skip to content

Option to turn off default instructions 'warning' #4

@marty-oehme

Description

@marty-oehme

By default the plugin displays a vim.notify message informing the user of having to move all changes to the left and using :cq to quit without changes.

I think this is useful 'tutorialization' when starting to use the plugin but in my case it requires another press to acknowledge each time:

Image

There are two issues I have with the current version:

  1. It would be nice to have the option to turn off the instructions once we know how the tool works.
  2. And I am not sure if notify.WARN is the appropriate level to set the information at?

I will post a PR with a simple fix using the same vim.g.jj_diffconflicts_<option> pattern as the marker_length setting,
but ultimately perhaps it would be better to switch the plugin initialization to use a setup function like many other lua plugins?

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