1. Meikel Brandmeyer
  2. vimclojure
  3. Issues
Issue #96 new

Dynamic highlighting hangs VImClojure with Overtone

sattvik
created an issue

Dynamic highlighting usually works just fine for me. However, with Overtone [overtone "0.6.0"], if it's turned on, it causes the plugin to hang. I can usually <c-c> out of it.

Upon closer inspection, it seems like the ng client process for the dynamic highlighting runs at 100% CPU.

Comments (5)

  1. Anonymous

    I am still encountering this with VimClojure 2.3.3 (via vimclojure-easy) and Overtone 0.8. It doesn't matter if I'm issuing an Overtone-specific command or just evaluating (+ 1 2). I don't even have to have Overtone imported into the file I'm editing or have started SuperCollider.

    This does not occur when I run VimClojure with a fresh lein project without Overtone.

    I'm using lein-tarsier to start the ng server.

  2. Chris Ford

    This issue is still occurring for me on:

    • Clojure 1.3.0
    • Ubuntu 12.04
    • VimClojure 2.3.5 via vimclojure-easy
    • lein tarsier 0.9.1
    • Overtone 0.7.1

    I have discovered something further about the bug that might give a clue as to what's happening.

    If there is no result window and I evaluate a command, it hangs until I kill it. this occurs with Overtone commands as well as ordinary commands e.g. (+ 1 2). If there is already a result window open, the command *does not* hang.

    I haven't been able to reproduce this on a trivial non-Overtone project. I realise it's a somewhat obscure condition, so I'm not really expecting a resolution unless I come up with more information, and it's easy enough to work around it by switching off dynamic highlighting.

  3. Log in to comment