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

Where is vale binary installed? #6

Open
LiveDuo opened this issue Oct 20, 2024 · 5 comments
Open

Where is vale binary installed? #6

LiveDuo opened this issue Oct 20, 2024 · 5 comments

Comments

@LiveDuo
Copy link

LiveDuo commented Oct 20, 2024

Have installed the extension through Zed but can't run vale sync. I'm getting zsh: command not found: vale.

Where should the vale binary be installed?

@LiveDuo LiveDuo changed the title Where does the vale binary appear? Where is vale binary installed? Oct 20, 2024
@koozz
Copy link
Owner

koozz commented Oct 21, 2024

This only installs vale-ls in the extensions folder, for me (Mac OS) that boils down to:
~/Library/Application Support/Zed/extensions/work/vale/vale-ls-v0.3.8/vale-ls

You can install the CLI by following the official instructions at https://vale.sh/docs/vale-cli/installation/

Do you think the vale CLI is also needed in the plugin? And how would that look like?

@LiveDuo
Copy link
Author

LiveDuo commented Oct 21, 2024

@koozz I was trying to setup the plugin to work. I still can't see any integrations with zed while vale CLI tool works.

@koozz
Copy link
Owner

koozz commented Oct 21, 2024

@LiveDuo, do you have a .vale.ini in the root of your project?

Example would be .vale.ini:

StylesPath = styles

Vocab = Vale

[*]
BasedOnStyles = Vale

@LiveDuo
Copy link
Author

LiveDuo commented Oct 21, 2024

@koozz Yeap, I tried both the one from Readme and the example one in your last comment.

@LiveDuo
Copy link
Author

LiveDuo commented Oct 22, 2024

@koozz Working now. Seems like Zed have to be restarted after running vale sync.

One more question:
Can vale be configured to run on specific file extensions and / or folders?

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