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

doesn't warn when dir is missing #34

Open
teto opened this issue Aug 18, 2024 · 2 comments
Open

doesn't warn when dir is missing #34

teto opened this issue Aug 18, 2024 · 2 comments

Comments

@teto
Copy link
Member

teto commented Aug 18, 2024

I had to install my config on a new setup and had some trouble because rocks-git was missing, because of this line:

[plugins."rocks-git.nvim"]

dir = "/home/teto/rocks-git.nvim"

The folder didn't exist on the new computer. I wonder how to address this. Should it be an error ? I am fine with this being optional but it should at least display a warning in :Rocks log. On top of that it could be a checkhealth ?

I am ready to do the work

@mrcjkb
Copy link
Member

mrcjkb commented Aug 18, 2024

We probably want to display a similar warning to the one rocks.nvim displays when one or more plugins are not installed:

warning[rocks-dev]: The following plugins were not found on the file system: { rocks-git.nvim, foo.nvim }

@teto
Copy link
Member Author

teto commented Aug 19, 2024

linked PR #35

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