Plugin for a language not supported by coc.nvim has show_documentation blocked by 'doHover'. #3541
-
Plugin for a language not supported by coc.nvim has its show_documentation blocked by 'doHover'. When using 'K' to get documentation at cursor, this happens if I don't comment out coc.nvim settings and restart before working. Is there an easy way to disable this? I've tried to use conditional logic for filetypes, and I've searched both here and at the plugins issue thread and community, but cannot find anyone who has had this kind of issue, only some that sounds similar but isn't. The plugin in question is SCNvim. this is the error i get:
The easy way would be to map the 'documentation' to some other key, but it would be annoying. How would I suppress or disable the 'doHover' function in buffers of a certain filetype? The section in the coc.nvim settings where this is handled looks like this.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Seems the buffer is not a normal buffer, check buftype by |
Beta Was this translation helpful? Give feedback.
Seems the buffer is not a normal buffer, check buftype by
:echo &buftype
.Also checkout
CocAction('ensureDocument')