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

Support Coc.nvim #238

Open
aemonge opened this issue May 22, 2024 · 3 comments
Open

Support Coc.nvim #238

aemonge opened this issue May 22, 2024 · 3 comments
Milestone

Comments

@aemonge
Copy link

aemonge commented May 22, 2024

Is it possible to support https://github.com/neoclide/coc.nvim ?

@tjdevries
Copy link
Contributor

I'll look into it!

@tjdevries
Copy link
Contributor

Any chance you could try out: #242

I tried it locally and it seems to be working for me, but I haven't used coc.nvim in a long time!

@tjdevries tjdevries added this to the 2.0 milestone May 25, 2024
@aemonge
Copy link
Author

aemonge commented May 27, 2024

I've installed as follows:


local M = {
    "sourcegraph/sg.nvim",
    dependencies = {
        "nvim-lua/plenary.nvim",
        "nvim-telescope/telescope.nvim",
    },
    branch = "coc-nvim-support",
    -- build = ":SourcegraphDownloadBinaries<CR>"
}

But I don't know how to map a manual trigger for completion <C-a> or how to start the chat. I don't see any commands named "cody" or "sourgraph" in plugins, nor coc.commands

Issus with health might be versions of nvim ?


sg: require("sg.health").check()

sg.nvim report ~
- Machine: x86_64, sysname: Linux
- ERROR Invalid nvim version. Upgrade to at least 0.10.0. Current version: table: 0x7efcbcddfca0
- ERROR Invalid nvim version. Upgrade to at least 0.9.4 or nightly

this is my version:

 NVIM v0.9.5 
 Build type: Release 
 LuaJIT 2.1.1713773202 
 system vimrc file: "$VIM/sysinit.vim" 
 fall-back for $VIM: "/usr/share/nvim" 
 Run :checkhealth for more info 

1
1
2
2

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

No branches or pull requests

2 participants