Skip to content

Conversation

alerque
Copy link
Contributor

@alerque alerque commented Oct 9, 2025

There are currently quite a few ways for user configs to leak into this and change how the plugin responds. Notably if the user has vim-polyglot or anything else that does Justfile stuff to start with, these preview tasts will not actually show what this plugin is doing.

This should be much more robust, including leaving the editor to actually want to load the plugin as a result of normal actions like how it does file type detection, not forcing the plugin to be loaded before testing begins. This is especially useful for testing the file type detection itself.

There are currently quite a few ways for user configs to leak into this
and change how the plugin responds. Notably if the user has vim-polyglot
or anything else that does Justfile stuff to start with, these preview
tasts will not actually show what *this* plugin is doing.

This should be much more robust, including leaving the editor to
actually *want* to load the plugin as a result of normal actions like
how it does file type detection, not forcing the plugin to be loaded
before testing begins.
@laniakea64
Copy link
Collaborator

Loading user configuration is intentional and the current preview recipes go out of their way and put a lot of effort to retain this behavior. We could add separate clean-preview recipes for the behavior you're seeking. Opened #128 for discussion

@laniakea64 laniakea64 closed this Oct 9, 2025
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

Successfully merging this pull request may close these issues.

2 participants