Fork me on GitHub
#vim
<
2019-10-30
>
dharrigan09:10:19

Does anyone know a way of disabling a completion source for a particular file type with neovim and coc?

dharrigan09:10:41

I have coc-dictionary installed and when I'm editing clj files, it's showing dictionary words as sources for completion.

Jason Paterson11:10:11

You can add "coc.source.{source}.disableSyntaxes": ["{filetype}"] to your coc-settings.json Sorry, that's syntax names like for highlighting

dharrigan11:10:01

i ended up doing :CocUninstall coc-words until I figure it out

Olical13:10:28

Set up uninstall and install hooks on bufenter / leave 😬 (please don't)

😄 4
Olical13:10:46

If it's not documented and nobody is sure maybe the CoC issue tracker is the best bet?

dharrigan13:10:35

I'll ping it across, see what the response is.

dharrigan13:10:30

gotta say, having the ability for conjure to pop up a window when a tap> is evaluated is pretty darn handy

Olical13:10:11

Yep, tap > println every day. It's nice having things treated as data and formatted properly. Then you can wrap / tweak the data that came out of the tap and evaluate that too!

dave14:10:43

i keep forgetting that tap is a thing that's available to me. i should get in the habit of using it more

dave14:10:58

i'm so used to adding prn statements everywhere 😄