Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove -Z when GOLFVIM=nvim #346

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlexApps99
Copy link

See #304

This PR conditionally removes the -Z flag when $GOLFVIM is set to nvim.

This may make it slightly easier to cheat, but it doesn't really change that much considering that you can make a shellscript for $GOLFVIM that cuts out the first arg pretty easily. (exec nvim "${@:2}")

I also changed the diff tool to use the provided vim by default, since most people that change GOLFVIM would expect vimgolf to use it for diff too.

Making the experience for nvim slightly better.

@AlexApps99
Copy link
Author

For good anti-cheat/validation, it might make sense to validate the key presses on the server (no idea how that'd work, unlikely that would ever be implemented, just putting it out there)

@jenvigo
Copy link

jenvigo commented Oct 27, 2022

I would love to see this PR merged.

It worked perfectly for me.

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.

2 participants