Closed jilen closed 7 years ago
Pull request with fix?
Can't reproduce. Also try
as a keyword would be the same color as import
. Now it is in different color meaning it is (at least by fontlock) detected as type.
It almost looks like you have case-insensitive regex and that is causing the problem.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Search-Case.html
Have you touched case-fold-search
? What is its value?
case-fold-search is a variable defined in ‘C source code’.
Its value is t
Automatically becomes buffer-local when set.
Documentation:
Non-nil if searches and matches should ignore case.
You can customize this variable.
[back]
Hmm... I also have t
Force set it to nil solve my issue
(defun setup-scala ()
(setq case-fold-search nil))
(add-hook 'scala-mode-hook 'setup-scala)
Ok, but that doesn't explain the bug since I have it also se to t
and don't have the bug
Seems
Try
was treat askeyword