Closed UltiRequiem closed 3 years ago
humm weird, can you please pull latest and try again?
use { 'ms-jpq/coq_nvim', branch = 'coq'} -- main one
use { 'ms-jpq/coq.artifacts', branch= 'artifacts'} -- 9000+ Snippets
I just pushed a bunch of changes and hopefully you can just do:
local lsp = require "lspconfig"
local coq = require "coq" -- add this
lsp.<server>.setup(<stuff...>) -- before
lsp.<server>.setup(coq.lsp_ensure_capabilities(<stuff...>)) -- after
After pulling the most recent changes I'm not getting any snippet suggestions, but I'm also not getting any errors. Current setup:
local nvim_lsp = require 'lspconfig'
local coq = require 'coq'
local servers = { 'pyright', 'rust_analyzer', 'sourcekit' }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup(coq.lsp_ensure_capabilities({}))
end
Edit: coq wasn't auto-starting, so it looks like let g:coq_settings = { 'auto_start': v:true }
may not be working.
This works:
But no snippets:
But this dont
What I'm doing wrong?