Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coc doesn't work with ale #137

Closed
cvlmtg opened this issue Oct 30, 2018 · 3 comments
Closed

coc doesn't work with ale #137

cvlmtg opened this issue Oct 30, 2018 · 3 comments
Labels
question Further information is requested

Comments

@cvlmtg
Copy link

cvlmtg commented Oct 30, 2018

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
@chemzqm
Copy link
Member

chemzqm commented Oct 30, 2018

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

@chemzqm chemzqm added the question Further information is requested label Oct 30, 2018
@cvlmtg
Copy link
Author

cvlmtg commented Oct 30, 2018

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 :)

@chemzqm
Copy link
Member

chemzqm commented Nov 6, 2018

When the current document is null you'll get errors like these, it was fixed at d56d961.
Reopen this issue if you still get these messages.

@chemzqm chemzqm closed this as completed Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants