Skip to content

Do not automatically close a fold when the cursor is inside it #271

@molostovvs

Description

@molostovvs

Feature description

Is it possible to both have a configuration that automatically closes implementations, and configure them so that it doesn't close the fold where the cursor is placed inside?

Describe the solution you'd like

perhaps default to not automatically close fold if there is a cursor inside?

Additional context

my current configuration

    opts = {
      close_fold_kinds_for_ft = {
        default = {
          'imports',
          'comment',
          -- 'implementation',
        },
      },
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions