neoclide / coc-snippets

Snippets solution for coc.nvim
970 stars 41 forks source link

Disable snippets, keep autocomplete #344

Open jlmgtech opened 1 year ago

jlmgtech commented 1 year ago

I've tried searching online, and in the vim help, but there is no mention of how to disable snippets in Coc while maintaining autocomplete. I'm sorry to drag others into this, but I really don't know how Coc works other than how to install it, and the documentation talks about how to use snippets, but doesn't seem to mention disabling it altogether.

jlmgtech commented 1 year ago

https://github.com/neoclide/coc-snippets/issues/156 ^ this is the closest other issue I've found, but it doesn't really say anything helpful. If snippet completions come from the language server, doesn't Coc still have to facilitate those snippets? In other words, I should be able to disable all snippets regardless of the language server?

jlmgtech commented 1 year ago

chatGPT recommended the following entry into CocConfig:

{
    "coc.preferences.snippets.enable": false
}

But that also does not work.