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

command line option to assign config path #3001

Closed
Freed-Wu opened this issue Feb 11, 2024 · 2 comments · Fixed by #3050
Closed

command line option to assign config path #3001

Freed-Wu opened this issue Feb 11, 2024 · 2 comments · Fixed by #3050
Labels
enhancement Feature request

Comments

@Freed-Wu
Copy link

Problem

tree-sitter --config=/the/path/of/new/config.json highlight /the/path/of/a/file

will ignore ~/.config/tree-sitter/config.json

Expected behavior

No response

@Freed-Wu Freed-Wu added the enhancement Feature request label Feb 11, 2024
@amaanq
Copy link
Member

amaanq commented Feb 11, 2024

why would you need that instead of just editing your current config

@Freed-Wu
Copy link
Author

Sometimes I want to temporarily use another config (theme, parser-directories) without changing my personal config 😄

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

Successfully merging a pull request may close this issue.

2 participants