oni icon indicating copy to clipboard operation
oni copied to clipboard

Weird infinite-loop 100% cpu usage interaction between oni and deoplete and HTML files

Open robin-pham opened this issue 8 years ago • 2 comments

Reproduction steps:

  1. Configure oni to use init.vim
  2. Setup the init.vim with deoplete
  3. Edit an html file, try to prompt suggestions by going into insert mode and start to type inside an html tag, e.g. class="type here".

screenshot_2018-03-26_22-47-20 screenshot_2018-03-26_22-47-54 ^ browser console keeps on complaining about 'No grammar found for language: html'

This is a pretty bizarre bug, just writing it down here in case other people encounter the same issue.

P.S: Oni is realllly coool.

robin-pham avatar Mar 27 '18 05:03 robin-pham

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Mar 27 '18 05:03 oni-bot

Thanks for reporting @robin-pham ! Yes, that's strange - we definitely shouldn't be trying to query for that grammar file so often.

bryphe avatar Mar 27 '18 16:03 bryphe