aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/light.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-10-09 00:24:58 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-10-09 00:24:58 -0400
commita488a97c9eb58d8e9db224f3793c74f23d26b07e (patch)
tree16105cf5b2a2e0f8ab583a7cff483aff34c82a2c /themes/light.lua
parent098be412f70bb6722c6751b70f939f08f70e196d (diff)
Use an indicator to highlight matching braces.
Diffstat (limited to 'themes/light.lua')
-rw-r--r--themes/light.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/light.lua b/themes/light.lua
index b13cb0ed..52546980 100644
--- a/themes/light.lua
+++ b/themes/light.lua
@@ -63,9 +63,7 @@ end
property['style.default'] = 'font:%(font),size:%(fontsize),'..
'fore:%(color.light_black),back:%(color.white)'
property['style.linenumber'] = 'fore:%(color.grey),back:%(color.white)'
-property['style.bracelight'] = 'fore:%(color.light_blue)'
-property['style.bracebad'] = 'fore:%(color.light_red)'
-property['style.controlchar'] = '%(style.nothing)'
+--property['style.controlchar'] = '%(style.nothing)'
property['style.indentguide'] = 'fore:%(color.dark_white)'
property['style.calltip'] = 'fore:%(color.light_black),back:%(color.dark_white)'
@@ -121,6 +119,8 @@ for i = 25, 31 do -- fold margin markers
end
-- Indicators.
+local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH
+buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.grey']
local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT
buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.orange']
buffer.indic_alpha[INDIC_HIGHLIGHT] = 255