Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable location list when used by something else from automake #2436

Open
SevereOverfl0w opened this issue Oct 24, 2019 · 2 comments
Open

Comments

@SevereOverfl0w
Copy link
Contributor

I'm using neomake with the automake function, really like it. It strikes a nice balance between flexible, and sensible for common cases.

I really like most of the "outputs" of linting in response to automake (virtual text, signs), but I don't like the automake overriding the location list. If I have something else loaded into the location list (e.g. a stacktrace) then I want to keep it there even while I edit/navigate code.

On the other hand, if the last thing in the location list is the output from Neomake, I'm happy for it to be updated as I make changes.

When I type :Neomake, I want the location list to update regardless of contents.

@SevereOverfl0w
Copy link
Contributor Author

I can't actually see an option to disable the location list outright anyway? Is that possible?

@ByLiZhao
Copy link

To achieve what you propose, Neomake needs a way to cooperate with other plugins that also use location lists, because the location list of a window is a shared resource. I don't think vim provides a mechanism to allow a plugin to use a location list exclusively. Even if it does, it will be a bad idea for a single misbehaving plugin that fails to release its ownership to a location list would cause other plugins to stop functioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants