Coc.nvim: coc doesn't work with ale

Created on 30 Oct 2018  ·  3Comments  ·  Source: neoclide/coc.nvim

Describe the bug
If I install ale, coc stops working. completion doesn't work and :messages says

[coc.nvim] Error on InsertEnter: Cannot read property 'clearHighlight' of undefined
[coc.nvim] Error on TextChanged: Cannot read property 'filetype' of undefined
[coc.nvim] Error on TextChanged: Cannot read property 'filetype' of undefined
[coc.nvim] Error on TextChanged: Cannot read property 'filetype' of undefined

To Reproduce
Steps to reproduce the behavior:

  1. Install coc.nvim with coc-tsserver and see that it is working
  2. Install ale and now coc.nvim no longer works

Expected behavior
coc.nvim should not break when ale is installed

Desktop (please complete the following information):

  • Terminal: kitty 0.12.3 and tmux
  • Version: nvim v0.3.2-797-g500345aea
question

Most helpful comment

I'm using coc.nvim and ale as well, but I can't reproduce this problem.

All 3 comments

I'm using coc.nvim and ale as well, but I can't reproduce this problem.

I'll try to set up a minimal config with a clean install and see if it depends on some of my configuration, however I'm not sure I'll be able to have some spare time soon. meanwhile thanks for fixing coc-eslint, now this problem is not urgent anymore :)

When the current document is null you'll get errors like these, it was fixed at https://github.com/neoclide/coc.nvim/commit/d56d961ca2afdfbf2e95a93467a8e7ff02abf270.
Reopen this issue if you still get these messages.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lanox picture lanox  ·  3Comments

marene picture marene  ·  3Comments

rkulla picture rkulla  ·  3Comments

svenstaro picture svenstaro  ·  4Comments

aareman picture aareman  ·  3Comments