|
From: | Dmitry Gutov |
Subject: | bug#16610: 24.3.50; [ruby-mode] Variables named as built-in functions font-locked incorrectly |
Date: | Sat, 01 Feb 2014 19:09:16 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Version: 24.4 On 01.02.2014 18:47, Bozhidar Batsov wrote:
I’d say that the second option is better, since it won’t cause false positives. This would also take care of an annoying bit regarding the `p` built-in - each time you start typing something that starts with “p" the “p” briefly gets font-locked as built-in, before the following letter is inserted.
Yeah, okay. I haven't noticed this problem with "p" yet, but probably would, from now on.
Installed, with the caveat that the regexp doesn't take care of binary operations and keywords. Have to leave space for future improvement. :)
[Prev in Thread] | Current Thread | [Next in Thread] |