Skip to content

Enable nvim_ghost_use_script on Windows#76

Open
adamnew123456 wants to merge 1 commit intosubnut:mainfrom
adamnew123456:allow-script-win32
Open

Enable nvim_ghost_use_script on Windows#76
adamnew123456 wants to merge 1 commit intosubnut:mainfrom
adamnew123456:allow-script-win32

Conversation

@adamnew123456
Copy link

Currently, there's no way to use g:nvim_ghost_use_script when running on Windows. It prevents the plugin from getting initialized (AFAIK - I'm assuming that's what finish does), but even if you got past that point, has('win32') takes precedence and forces launching through the WSH script.

I don't see a good reason for forcing that behavior? I disabled it for debugging while working on some other changes and didn't notice any problems. The WebSocket server started and ran as expected without generating any stray console windows.

There's no obvious reason to disable this, and it helps when debugging
since you can use a local binary.py instead of the compiled version from
GitHub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant