Skip to content
This repository was archived by the owner on Aug 12, 2023. It is now read-only.
This repository was archived by the owner on Aug 12, 2023. It is now read-only.

Full restart of null-ls #1615

@otavioschwanck

Description

@otavioschwanck

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

While using some diagnostic (like rubocop), it can throw and error and stop working.

null-ls doesn't have any way to restart after it occurs. When it happen, the diagnostic on the screen also get bugged (i have to manually remove withvim.diagnostic.reset().

After the first time that the error happens, instead of trying to restart (could have a retry every X seconds with max attempts or something), the null-ls just stop working and i have to restart neovim to make work again.

Already tried null_ls.toggle({}) and doesn't work. After first error, it is gone completely.

Would be awesome to have a NullLsRestart that make null restart like a new instance of neovim was open.

Example of an random error:

image

Help

Yes, but I don't know how to start. I would need guidance

Implementation help

No response

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