Highlighting the current line in TextMate 2

textmate, textmate2

Solution

It is not possible in TM2 yet, but there is an open ticket on github regarding this issue. The lead developer is assigned to it, however it doesn't seem to have that high priority.

Eventually you should be able to do like this:

        settings = {
            lineHighlight = '#FF483E';
        };

This is from the Monokai Theme.

Problem

In TM 1.x, there was a preferences setting to enable the highlighting of the current line. This option seems to have disappeared in TM2. I assume there is some setting in tm_properties that can be set, but I cannot figure it out. I've tried setting lineHighlight to be a color, but this does not work. Has anyone figured this out?

Original source