aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/term.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-12 15:01:16 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-12 15:01:16 -0400
commitf37276331fe1e146193b45e380911b7a60e11de4 (patch)
treeacfae9e9388a30e92b6efc7356e3bcf29f202548 /themes/term.lua
parentd0264d375273bb661aa030f1f2cbd83b46e30268 (diff)
Code cleanup in themes.
Diffstat (limited to 'themes/term.lua')
-rw-r--r--themes/term.lua25
1 files changed, 12 insertions, 13 deletions
diff --git a/themes/term.lua b/themes/term.lua
index fde41f16..9f530723 100644
--- a/themes/term.lua
+++ b/themes/term.lua
@@ -27,34 +27,33 @@ property['color.light_magenta'] = 0xFF00FF
property['color.light_cyan'] = 0xFFFF00
property['color.light_white'] = 0xFFFFFF
+-- 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)'
+
-- 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.embedded'] = '%(style.keyword),back:%(color.black)'
property['style.error'] = 'fore:%(color.red),bold'
property['style.function'] = 'fore:%(color.blue)'
+property['style.identifier'] = ''
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.preprocessor'] = 'fore:%(color.magenta)'
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)'
-
--- 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)'
-- Multiple Selection and Virtual Space
--buffer.additional_sel_alpha =