Skip to content

:help and :bd throws error #154

@EtiamNullam

Description

@EtiamNullam

Description

Seems like while ab46827 fixing issue #152 (that I've submitted) it actually introduced a few new problems.

For some reason opening :help and deleting buffers in some scenarios are throwing errors. Not silent this time.

I'll keep single issue for two errors I've encountered.

Every time :help window is entered:

Error detected while processing function <SNR>55_SetupAutoCommands[11]..<SNR>55_HighlightEOLWhitespace[1]..<SNR>55_ClearHighlighting:
line    3:
E803: ID not found: 5

Maybe it happens when unlisted buffers are entered.

Sometimes when buffer is deleted (:bdelete):

Error detected while processing function <SNR>55_SetupAutoCommands[30]..<SNR>55_ClearHighlighting:
line    3:
E803: ID not found: 4

Steps to reproduce

  1. Install/activate this plugin
  2. :edit test.txt
  3. :bdelete

And

  1. Install/activate this plugin
  2. :help

Specs

Windows 10
NVIM v0.8.0 (nightly)

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