clp

command line syntax highlighter
git clone git://jeskin.net/clp.git
README | Log | Files | Refs | LICENSE

commit f43a38e570eadfce977e5adacb8675f15b136eb6
parent 7863718992342e2e91735969c693868afa3e54b0
Author: Jon Eskin <eskinjp@gmail.com>
Date:   Fri, 29 Jul 2022 02:52:04 -0400

removing old code

Diffstat:
Mlua/theme.lua | 30+++---------------------------
1 file changed, 3 insertions(+), 27 deletions(-)

diff --git a/lua/theme.lua b/lua/theme.lua @@ -1,7 +1,9 @@ local colors = require('colors') - local theme = {} +-- I'd like to revamp the architecture of coloring and add configurable themes +-- The existing design is entirely placeholder and is expected to be overhauled + local default_theme = { -- bold => bright -- italics => underscore @@ -28,32 +30,6 @@ local default_theme = { ['identifier'] = colors.white, } --- local highlight_theme = { - -- -- bold => bright - -- -- italics => underscore - -- ['default'] = colors.white .. colors.reverse, - -- ['nothing'] = '' .. colors.reverse, - -- ['class'] = colors.yellow .. colors.bright .. colors.reverse, - -- ['comment'] = colors.blue .. colors.bright .. colors.reverse, - -- ['constant'] = colors.cyan .. colors.bright .. colors.reverse, - -- ['definition'] = colors.blue .. colors.bright .. colors.reverse, - -- ['error'] = colors.red .. colors.underscore .. colors.reverse, - -- ['function'] = colors.blue .. colors.bright .. colors.reverse, - -- ['keyword'] = colors.yellow .. colors.bright .. colors.reverse, - -- ['label'] = colors.green .. colors.bright .. colors.reverse, - -- ['number'] = colors.red .. colors.bright .. colors.reverse, - -- ['operator'] = colors.cyan .. colors.bright .. colors.reverse, - -- ['regex'] = colors.green .. colors.bright .. colors.reverse, - -- ['string'] = colors.red .. colors.bright .. colors.reverse, - -- ['preprocessor'] = colors.magenta .. colors.bright .. colors.reverse, - -- ['tag'] = colors.red .. colors.bright .. colors.reverse, - -- ['type'] = colors.green .. colors.bright .. colors.reverse, - -- ['variable'] = colors.blue .. colors.bright .. colors.reverse, - -- ['whitespace'] = '' .. colors.reverse, - -- ['embedded'] = colors.onblue .. colors.bright .. colors.reverse, - -- ['identifier'] = colors.white .. colors.reverse, --- } - local highlight_theme = { -- bold => bright -- italics => underscore