FREEZX / com.unity.nvim

Neovim integration for Unity
MIT License
5 stars 0 forks source link

`Remote Arguments` seems to be an error. #4

Open baizeyv opened 6 days ago

baizeyv commented 6 days ago

System: Windows 11 Pro Unity Version : 2022.3.17f1

The DefaultRemoteArgs ->

static string DefaultRemoteArgs { get; } = "--servername ${pipePath} -c \"n ${filePath} | call cursor(${line},${column})<CR>\"";

I think -c "n ${filePath}" is a mistake, what's the n command mean ? maybe e ?

After modificatioon it seems to work fine.

my configuration: image

And I have a problem also, when double click a script file, it will be opend in neovide, but the focus still stays in Unity and does not switch to Neovide. How to solve it ? Please.

FREEZX commented 1 day ago

I don't remember, but I think :n worked fine for me. I believe I followed this instruction for it on Stackoverflow, but it might have changed.

The plugin unfortunately does not focus the current window, but it should be doable. That said, I don't currently have the time to implement it.