Skip to content
New issue

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

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

Already on GitHub? # to your account

Prevent using or calling uninstalled packages #22

Closed
Compro-Prasad opened this issue Dec 15, 2018 · 4 comments
Closed

Prevent using or calling uninstalled packages #22

Compro-Prasad opened this issue Dec 15, 2018 · 4 comments

Comments

@Compro-Prasad
Copy link

Like flycheck. I haven't installed flycheck but this package always calls it which I don't like. If not available either offer to install it or don't try to enable it.

@brotzeit
Copy link
Owner

Yeah, my solution still doesn't work for every case. But I'm a little confused since flycheck shouldn't be installed by rustic. The rustic flycheck file will only be required when flycheck is loaded. And you shouldn't be offered to install it.
Are you absolutely sure you mean flycheck ?
If so please try if you get the same issue with a minimal config and describe your steps.

Regarding eglot and lsp-mode, I have to fix automatic requiring.

@Compro-Prasad
Copy link
Author

Compro-Prasad commented Dec 15, 2018

I mean that flycheck-mode is called after opening any rust file. So, the problem I see is the find-file-hook.

@brotzeit
Copy link
Owner

Are you sure that flycheck wasn't installed by some package as dependency ? I will change this, but I can't explain why rustic would call flycheck if it isn't already installed.

@Compro-Prasad
Copy link
Author

Compro-Prasad commented Dec 15, 2018

I am using straight.el as package manager. It pulls the package metadata from melpa AFAIK. If it cant find flycheck as a dependency then it wont pull it.

But it has pulled it. I think I will look into it then report again later.

SohumB referenced this issue in SohumB/rustic May 16, 2024
rustic-recompile will remember universal arguments passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants