Is there any way to use sublime text 4 client in windows but use language server in wsl via lsp?
I tried but didn’t succeed.
Thanks for your reading.
Is there any way to use sublime text 4 client in windows but use language server in wsl via lsp?
I tried but didn’t succeed.
Thanks for your reading.
Yes (if I’m understanding you correctly).
I guess the trick is that you might need Windows binaries for the LSP that’s running. So for example, if you want to run eslint, you need to run npm install in Windows command line or Powershell so you get an eslint.cmd file build in your node_modules/.bin directory. I delete my node_modules directory semi-frequently, so I keep a copy of eslint.cmd in a separate directory and copy it back to the .bin directory after doing a fresh npm install in the linux WSL.