diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2012-11-19 00:28:48 -0500 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2012-11-19 00:28:48 -0500 |
commit | 9cdaf41a724dd0d739611c698e92f4421a2fbafc (patch) | |
tree | e762a51e4e8e9f9d20ddd2228e81c37bc7e6b920 /themes | |
parent | a5181b448b2d3f2d3db6dd40b40c7471602763a9 (diff) |
Changed Lua code style for tables.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/dark/lexer.lua | 52 | ||||
-rw-r--r-- | themes/light/lexer.lua | 52 | ||||
-rw-r--r-- | themes/term/lexer.lua | 42 |
3 files changed, 71 insertions, 75 deletions
diff --git a/themes/dark/lexer.lua b/themes/dark/lexer.lua index bfa3a67b..38ff35b6 100644 --- a/themes/dark/lexer.lua +++ b/themes/dark/lexer.lua @@ -56,25 +56,25 @@ l.colors = { light_blue = color('80', 'CC', 'FF'), } -l.style_nothing = style { } -l.style_class = style { fore = l.colors.light_yellow } -l.style_comment = style { fore = l.colors.dark_grey } -l.style_constant = style { fore = l.colors.red } -l.style_definition = style { fore = l.colors.light_yellow } -l.style_error = style { fore = l.colors.red, italic = true } -l.style_function = style { fore = l.colors.blue } -l.style_keyword = style { fore = l.colors.dark_white } -l.style_label = style { fore = l.colors.orange } -l.style_number = style { fore = l.colors.teal } -l.style_operator = style { fore = l.colors.yellow } -l.style_regex = style { fore = l.colors.light_green } -l.style_string = style { fore = l.colors.green } -l.style_preproc = style { fore = l.colors.purple } -l.style_tag = style { fore = l.colors.dark_white } -l.style_type = style { fore = l.colors.lavender } -l.style_variable = style { fore = l.colors.light_blue } -l.style_whitespace = style { } -l.style_embedded = l.style_tag..{ back = l.colors.light_black } +l.style_nothing = style{ } +l.style_class = style{fore = l.colors.light_yellow } +l.style_comment = style{fore = l.colors.dark_grey } +l.style_constant = style{fore = l.colors.red } +l.style_definition = style{fore = l.colors.light_yellow } +l.style_error = style{fore = l.colors.red, italic = true} +l.style_function = style{fore = l.colors.blue } +l.style_keyword = style{fore = l.colors.dark_white } +l.style_label = style{fore = l.colors.orange } +l.style_number = style{fore = l.colors.teal } +l.style_operator = style{fore = l.colors.yellow } +l.style_regex = style{fore = l.colors.light_green } +l.style_string = style{fore = l.colors.green } +l.style_preproc = style{fore = l.colors.purple } +l.style_tag = style{fore = l.colors.dark_white } +l.style_type = style{fore = l.colors.lavender } +l.style_variable = style{fore = l.colors.light_blue } +l.style_whitespace = style{ } +l.style_embedded = l.style_tag..{back = l.colors.light_black} l.style_identifier = l.style_nothing -- Default styles. @@ -86,17 +86,15 @@ elseif OSX then font_face = '!Monaco' font_size = 12 end -l.style_default = style { +l.style_default = style{ font = font_face, size = font_size, fore = l.colors.light_grey, back = l.colors.black } -l.style_line_number = style { fore = l.colors.dark_grey, back = l.colors.black } -l.style_bracelight = style { fore = l.colors.light_blue } -l.style_bracebad = style { fore = l.colors.light_red } +l.style_line_number = style{fore = l.colors.dark_grey, back = l.colors.black} +l.style_bracelight = style{fore = l.colors.light_blue} +l.style_bracebad = style{fore = l.colors.light_red} l.style_controlchar = l.style_nothing -l.style_indentguide = style { +l.style_indentguide = style{ fore = l.colors.light_black, back = l.colors.light_black } -l.style_calltip = style { - fore = l.colors.light_grey, back = l.colors.light_black -} +l.style_calltip = style{fore = l.colors.light_grey, back = l.colors.light_black} diff --git a/themes/light/lexer.lua b/themes/light/lexer.lua index bbd54950..6d3ae1a3 100644 --- a/themes/light/lexer.lua +++ b/themes/light/lexer.lua @@ -55,25 +55,25 @@ l.colors = { light_blue = color('80', 'CC', 'FF'), } -l.style_nothing = style { } -l.style_class = style { fore = l.colors.yellow } -l.style_comment = style { fore = l.colors.grey } -l.style_constant = style { fore = l.colors.red } -l.style_definition = style { fore = l.colors.yellow } -l.style_error = style { fore = l.colors.red, italic = true } -l.style_function = style { fore = l.colors.dark_orange } -l.style_keyword = style { fore = l.colors.dark_blue } -l.style_label = style { fore = l.colors.dark_orange } -l.style_number = style { fore = l.colors.teal } -l.style_operator = style { fore = l.colors.purple } -l.style_regex = style { fore = l.colors.dark_green } -l.style_string = style { fore = l.colors.green } -l.style_preproc = style { fore = l.colors.dark_yellow } -l.style_tag = style { fore = l.colors.dark_blue } -l.style_type = style { fore = l.colors.lavender } -l.style_variable = style { fore = l.colors.dark_lavender } -l.style_whitespace = style { } -l.style_embedded = l.style_tag..{ back = l.colors.dark_white } +l.style_nothing = style{ } +l.style_class = style{fore = l.colors.yellow } +l.style_comment = style{fore = l.colors.grey } +l.style_constant = style{fore = l.colors.red } +l.style_definition = style{fore = l.colors.yellow } +l.style_error = style{fore = l.colors.red, italic = true} +l.style_function = style{fore = l.colors.dark_orange } +l.style_keyword = style{fore = l.colors.dark_blue } +l.style_label = style{fore = l.colors.dark_orange } +l.style_number = style{fore = l.colors.teal } +l.style_operator = style{fore = l.colors.purple } +l.style_regex = style{fore = l.colors.dark_green } +l.style_string = style{fore = l.colors.green } +l.style_preproc = style{fore = l.colors.dark_yellow } +l.style_tag = style{fore = l.colors.dark_blue } +l.style_type = style{fore = l.colors.lavender } +l.style_variable = style{fore = l.colors.dark_lavender } +l.style_whitespace = style{ } +l.style_embedded = l.style_tag..{back = l.colors.dark_white} l.style_identifier = l.style_nothing -- Default styles. @@ -85,17 +85,15 @@ elseif OSX then font_face = '!Monaco' font_size = 12 end -l.style_default = style { +l.style_default = style{ font = font_face, size = font_size, fore = l.colors.light_black, back = l.colors.white } -l.style_line_number = style { fore = l.colors.grey, back = l.colors.white } -l.style_bracelight = style { fore = l.colors.light_blue } -l.style_bracebad = style { fore = l.colors.light_red } +l.style_line_number = style{fore = l.colors.grey, back = l.colors.white} +l.style_bracelight = style{fore = l.colors.light_blue} +l.style_bracebad = style{fore = l.colors.light_red} l.style_controlchar = l.style_nothing -l.style_indentguide = style { +l.style_indentguide = style{ fore = l.colors.dark_white, back = l.colors.dark_white } -l.style_calltip = style { - fore = l.colors.light_black, back = l.colors.dark_white -} +l.style_calltip = style{fore = l.colors.light_black, back = l.colors.dark_white} diff --git a/themes/term/lexer.lua b/themes/term/lexer.lua index caeaa3b0..003ab51c 100644 --- a/themes/term/lexer.lua +++ b/themes/term/lexer.lua @@ -19,32 +19,32 @@ l.colors = { white = color('FF', 'FF', 'FF') } -l.style_nothing = style { } -l.style_class = style { fore = l.colors.yellow, bold = true } -l.style_comment = style { fore = l.colors.black, bold = true } -l.style_constant = style { fore = l.colors.red } -l.style_definition = style { fore = l.colors.yellow, bold = true } -l.style_error = style { fore = l.colors.red, bold = true } -l.style_function = style { fore = l.colors.blue } -l.style_keyword = style { fore = l.colors.white, bold = true } -l.style_label = style { fore = l.colors.red, bold = true } -l.style_number = style { fore = l.colors.cyan } -l.style_operator = style { fore = l.colors.yellow } -l.style_regex = style { fore = l.colors.green, bold = true } -l.style_string = style { fore = l.colors.green } -l.style_preproc = style { fore = l.colors.magenta } -l.style_tag = style { fore = l.colors.white, bold = true } -l.style_type = style { fore = l.colors.magenta, bold = true } -l.style_variable = style { fore = l.colors.blue, bold = true } +l.style_nothing = style{ } +l.style_class = style{fore = l.colors.yellow, bold = true } +l.style_comment = style{fore = l.colors.black, bold = true } +l.style_constant = style{fore = l.colors.red } +l.style_definition = style{fore = l.colors.yellow, bold = true } +l.style_error = style{fore = l.colors.red, bold = true } +l.style_function = style{fore = l.colors.blue } +l.style_keyword = style{fore = l.colors.white, bold = true } +l.style_label = style{fore = l.colors.red, bold = true } +l.style_number = style{fore = l.colors.cyan } +l.style_operator = style{fore = l.colors.yellow } +l.style_regex = style{fore = l.colors.green, bold = true } +l.style_string = style{fore = l.colors.green } +l.style_preproc = style{fore = l.colors.magenta } +l.style_tag = style{fore = l.colors.white, bold = true } +l.style_type = style{fore = l.colors.magenta, bold = true} +l.style_variable = style{fore = l.colors.blue, bold = true } l.style_whitespace = l.style_nothing -l.style_embedded = l.style_tag..{ back = l.colors.black, bold = true } +l.style_embedded = l.style_tag..{back = l.colors.black, bold = true} l.style_identifier = l.style_nothing -- Default styles. -l.style_default = style { fore = l.colors.white, back = l.colors.black } +l.style_default = style{fore = l.colors.white, back = l.colors.black} l.style_line_number = l.style_default -l.style_bracelight = style { fore = l.colors.black, back = l.colors.white } -l.style_bracebad = style { fore = l.colors.red, bold = true } +l.style_bracelight = style{fore = l.colors.black, back = l.colors.white} +l.style_bracebad = style{fore = l.colors.red, bold = true} l.style_controlchar = l.style_nothing l.style_indentguide = l.style_nothing l.style_calltip = l.style_default |