Skip to content

feat: Add ini key to disable gvim integration#211

Merged
nakst merged 1 commit intonakst:masterfrom
yilisharcs:gvim-disabled
Sep 21, 2025
Merged

feat: Add ini key to disable gvim integration#211
nakst merged 1 commit intonakst:masterfrom
yilisharcs:gvim-disabled

Conversation

@yilisharcs
Copy link
Contributor

Problem: Neovim lacks support for --servername, but is symlinked to Vim on my system. When gf2 calls CommandSyncWithGvim, it returns this error:

    vim: Garbage after option argument: "--servername"
    More info with "vim -h"

Solution: Create a vimServerEnabled ini key and use it to disable the initial call and the entry on the drop down menu.

@greg7mdp
Copy link

You could also have vimServerName be NULL by default, and have an early return in CommandSyncWithGvim if vimServerName == NULL, I think these two changes would be enough.

Problem: Neovim lacks support for --servername, but is symlinked to Vim
on my system. When gf2 calls CommandSyncWithGvim, it returns this error:

        vim: Garbage after option argument: "--servername"
        More info with "vim -h"

Solution: Create a vimServerEnabled ini key and use it to disable the
initial call and the entry on the drop down menu.
@nakst nakst merged commit c1ece65 into nakst:master Sep 21, 2025
1 check failed
@nakst
Copy link
Owner

nakst commented Sep 21, 2025

Thank you for your contribution!

@yilisharcs yilisharcs deleted the gvim-disabled branch September 27, 2025 03:13
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.

3 participants