-
Notifications
You must be signed in to change notification settings - Fork 132
Add vscode-client
highlighting based on tree-sitter-bash
#303
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
Labels
enhancement
New feature or request
Comments
There seems to be some strange bug in the VSC extension itself that's preventing this highlight. I'll open an issue at their repository instead. |
It's out of VSC's scope. The problem is that this extension doesn't contribute any highlighting. @mads-hartmann @skovhus could this extension contribute the highlighting tokens defined in: |
vscode-client
highlighting based on tree-sitter-bash
The scopes that are highlighted exclusively by scopes:
'string > command_substitution': 'embedded.source'
'command_name': 'entity.name.function'
'file_descriptor': 'constant.numeric'
'test_operator': 'entity.other.attribute-name'
'word': [{match: '^-', scopes: 'entity.other.attribute-name'}]
'special_variable_name': 'variable.other.member'
'variable_name': 'variable.other.member' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd appreciate if something like
git branch --delete patch-1
was highlighted appropriately in VSC. The--delete
token would be highlighted as a parameter. Thegit
token would be highlighted as a function.Sample file: https://raw.githubusercontent.com/xtnm/AU-AD/80e8ac1/AE-go_GameServer/check_xml.sh
The text was updated successfully, but these errors were encountered: