Skip to content

The separator line keep visible when context is toggle off #142

@vds2212

Description

@vds2212

I'm using:

  • gVim 9.1.474 on Windows 10 and
  • Neovim 0.10 on Windows 10

On both I have the same problem with the version of the 10th of July.

Remark:

  • The version of 1st of July, commit: 5d14952, seems to work fine
  • It seems that the commit: f8f619e is the one that induces the behavior

When I toggle context.vim off using the :ContextToggle command the context separator line is not removed like it was before the new release of the 10 of July 2024.

Before 10th of July with context.vim activate:
image
Before 10th of July with context.vim deactivate (:ContextToggle)
image

After 10th of July with context.vim activate:
image
After 10 of July with context.vim deactivate (:ContextToggle) and any cursor motion (l, h, ...)
image

After 10th of July:

  • The separator line doesn't go to the margin (good or not could be discussed).
  • When toggle off the separator line stay and the context stay (a bit like it is not off)

It can be reproduced with any kind of file.
Here is the file I use for the screenshot in case it helps.

class Hello:
    def __init__(self):
        print("hello")

    def hello(self, message):
        if message:
            print(message)
        else:
            print("hello")

class Foo:
    def __init__(self):
        print("foo")

    def hello(self, message):
        if message:
            print(message)
        else:
            print("hello")

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