hrsh7th/nvim-compe

Question/Help: LSP Snippet Support Not Working

thecontinium opened this issue · 1 comments

Hi and thanks for the plugin.

I am using clojure-lsp with compe but am experiencing problems when snippets are enabled.
clojure-lsp supports VSCode behaviour which I understand should work with compe.
This server is avidly maintained and is used extensively and successfully by various different clients.

What I am seeing

When snippets are enabled on the server:

  1. When I start the line with "(" e.g. "(p" The completion for all sources fail ( it looks to succeed momentarily but then the dropdown disappears) and only when I delete the "p" does the dropdown appear again and only all the snippets from the server are shown
  2. When I don't start the line with a "(" the dropdown works and shows all active sources including the snippets
  3. The snippets do not tab complete ( nb. If I install them outside the server for vsnip in a snippets directory they do work )

Additionally

When snippets are not enabled everything works fine.
Other lsp servers that support snippets work fine in my setup.

Debugging/Help

I am happy to investigate further but would like a pointer as where best to start and how to get as much debug information as I can from compe ?
Is there a format that compe is expecting from the server for snippets completion ?

Any advice welcome. Thanks.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.