I use VSCode to edit Scala files on the remote server. Installing the VSCode extension `scalameta.metals` will install extension `vscode-scala-syntax` on both the local machine and the remote server. I prefer not to install `vscode-scala-syntax` locally, because it's only needed on the remote server. There is a similar issue #46 that might be related.