In TextMate 1, we could use the Preferences dialog for this. In TextMate 2, at least at this point, I gather we have to use Edit Bundles, and edit the source of a specific theme. But what is the syntax to set a background color to the current line (i.e. the line on which the cursor is)?
Open up the bundle editor and then go to Theme's (or whatever theme you might have picked under View > Theme (Solarized and SubtleGradient have their own bundle).
then it is a simple JSON document for editing your theme.
Edit the "lineHighlight" property and set it to whatever you want your highlighted line to be in HEX.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With