-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
tree-sitter ssh client config #2443
Comments
This may need a bit of work in the function that chooses a language configuration for a given file type, here: helix/helix-core/src/syntax.rs Lines 475 to 491 in ae19aaf
This would be useful as well for git config where you can highlight You could set |
hmm, are you aware of any previous discussions on how this part of the config is resolved ? I can't think of a clean way to do this.. A "meh" solution would be to name = "ssh-client-config"
file-types = ["~/.ssh/config"]
name = "git-config"
file-types = ["~/.gitconfig", "${workspace}/.git/config"] With that, we can add an |
There was a bit of discussion here #1426 I think the shell expand might be a good increment. What do others think? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I am looking into adding the tree-sitter-ssh-client-config but am having trouble, specifically making helix detect the file (it's the
.ssh/config
file), I have no idea what to put infile-types
androot
The text was updated successfully, but these errors were encountered: