georgewfraser / vscode-tree-sitter

Accurate syntax coloring for VSCode using tree-sitter
MIT License
175 stars 25 forks source link

Does not work on vscode remote ssh in rust #23

Closed kigawas closed 4 years ago

ztlpn commented 4 years ago

Changing the extension kind to ui as documented here fixed the issue for me.

This can be done by the user:

  1. Uninstall the extension on the remote host and install it locally
  2. Add the following to settings.json:
    {
    "remote.extensionKind": {
        "georgewfraser.vscode-tree-sitter": "ui"
    }
    }
  3. Reload VSCode

And probably should be done in package.json.