aemoncannon/ensime — Issue #198: Color of variables in buffer with scala-sources changed after Analyzer start
Author: ysae
Created: 2011-10-20 22:14:16+00:00
State: open

I got most recent revision of Ensime from repository (scala-2.9 branch) to work with projects that use sbt 0.11.0.
To reproduce problem I create tiny project in the github repository: https://github.com/ysae/ensime-sbt-test

GNU Emacs 23.3.1 (i386-portbld-freebsd8.2, GTK+ Version 2.24.6)
scala-mode from scala-2.9.1-Final.

How to repeat:
- Clone ensime-sbt-test
- Start emacs and open source file 'test.scala' of the cloned project.
- With cursor at any variable name (variable name or parameter name) start command 'M-x describe-face': it shows font-lock-variable-name-face. All OK.
- Start ensime-inferior-server: 'M-x ensime RET'
- After Analyzer start and receiving message 'ENSIME ready. Find closure!' colors of variables have been changed: grey on white for variables, and white on white for parameter name.
- Command 'M-x describe-face' with cursor at variable names now shows 'default'.