You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2021. It is now read-only.
Start vim and enter :Envim. After all is ready, read in a file to edit
(:e SomeScalaFile.scala).
Next place cursor on symbol and enter either
:EnvimSymbolAtPoint or :EnvimUsesOfSymbolAtPoint
and all syntax colors go away. The commands work, just the syntax colors
disappear.
The work around is to enter :e and syntax colors come back.
The text was updated successfully, but these errors were encountered:
BTW, this occurred using the vim-scala-behaghel addon (it also occurred
with my normal scala.vim syntax plugin but I figure I ought to report it
using a reproducible set of scala vim syntax code).
If the file envim/ftdetect/scala.vim has
au BufRead,BufNewFile,BufEnter *.scala set filetype=scala
then most of the time, syntax highlighting happens.
It does not happen if UsesOfSymbolAtPoint does not have a match, and thus
the scala buffer is never exited so that it can not be re-entered.
Somewhere in the UsesOfSymbolAtPoint (and SymbolAtPoint) code, the
filetype of the buffer holding the scala source is being removed.
Start vim and enter :Envim. After all is ready, read in a file to edit
(:e SomeScalaFile.scala).
Next place cursor on symbol and enter either
:EnvimSymbolAtPoint or :EnvimUsesOfSymbolAtPoint
and all syntax colors go away. The commands work, just the syntax colors
disappear.
The work around is to enter :e and syntax colors come back.
The text was updated successfully, but these errors were encountered: