From c28f8dcab0d96444107b7e9e0de65abb21cd0972 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 29 May 2013 21:29:10 -0400 Subject: Allow "%()" property expansion in themes like with compile/run macros. --- themes/term.lua | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'themes/term.lua') diff --git a/themes/term.lua b/themes/term.lua index 43c6cbdc..fde41f16 100644 --- a/themes/term.lua +++ b/themes/term.lua @@ -29,32 +29,32 @@ property['color.light_white'] = 0xFFFFFF -- Token styles. property['style.nothing'] = '' -property['style.class'] = 'fore:$(color.yellow)' -property['style.comment'] = 'fore:$(color.black),bold' -property['style.constant'] = 'fore:$(color.red)' -property['style.error'] = 'fore:$(color.red),bold' -property['style.function'] = 'fore:$(color.blue)' -property['style.keyword'] = 'fore:$(color.white),bold' -property['style.label'] = 'fore:$(color.red),bold' -property['style.number'] = 'fore:$(color.cyan)' -property['style.operator'] = 'fore:$(color.yellow)' -property['style.regex'] = 'fore:$(color.green),bold' -property['style.string'] = 'fore:$(color.green)' -property['style.preprocessor'] = 'fore:$(color.magenta)' -property['style.type'] = 'fore:$(color.magenta),bold' -property['style.variable'] = 'fore:$(color.blue),bold' +property['style.class'] = 'fore:%(color.yellow)' +property['style.comment'] = 'fore:%(color.black),bold' +property['style.constant'] = 'fore:%(color.red)' +property['style.error'] = 'fore:%(color.red),bold' +property['style.function'] = 'fore:%(color.blue)' +property['style.keyword'] = 'fore:%(color.white),bold' +property['style.label'] = 'fore:%(color.red),bold' +property['style.number'] = 'fore:%(color.cyan)' +property['style.operator'] = 'fore:%(color.yellow)' +property['style.regex'] = 'fore:%(color.green),bold' +property['style.string'] = 'fore:%(color.green)' +property['style.preprocessor'] = 'fore:%(color.magenta)' +property['style.type'] = 'fore:%(color.magenta),bold' +property['style.variable'] = 'fore:%(color.blue),bold' property['style.whitespace'] = '' -property['style.embedded'] = '$(style.tag),back:$(color.black),bold' -property['style.identifier'] = '$(style.nothing)' +property['style.embedded'] = '%(style.tag),back:%(color.black),bold' +property['style.identifier'] = '%(style.nothing)' -- Predefined styles. -property['style.default'] = 'fore:$(color.white),back:$(color.black)' -property['style.linenumber'] = '$(style.default)' -property['style.bracelight'] = 'fore:$(color.black),back:$(color.white)' -property['style.bracebad'] = 'fore:$(color.red),bold' -property['style.controlchar'] = '$(style.nothing)' -property['style.indentguide'] = '$(style.nothing)' -property['style.calltip'] = '$(style.default)' +property['style.default'] = 'fore:%(color.white),back:%(color.black)' +property['style.linenumber'] = '%(style.default)' +property['style.bracelight'] = 'fore:%(color.black),back:%(color.white)' +property['style.bracebad'] = 'fore:%(color.red),bold' +property['style.controlchar'] = '%(style.nothing)' +property['style.indentguide'] = '%(style.nothing)' +property['style.calltip'] = '%(style.default)' -- Multiple Selection and Virtual Space --buffer.additional_sel_alpha = -- cgit v1.2.3