diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-10-09 00:24:58 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-10-09 00:24:58 -0400 |
commit | a488a97c9eb58d8e9db224f3793c74f23d26b07e (patch) | |
tree | 16105cf5b2a2e0f8ab583a7cff483aff34c82a2c /properties.lua | |
parent | 098be412f70bb6722c6751b70f939f08f70e196d (diff) |
Use an indicator to highlight matching braces.
Diffstat (limited to 'properties.lua')
-rw-r--r-- | properties.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/properties.lua b/properties.lua index 117ccb8f..4f0ef707 100644 --- a/properties.lua +++ b/properties.lua @@ -123,6 +123,9 @@ end --buffer:marker_enable_highlight(true) -- Indicators. +local INDIC_BRACEMATCH = textadept.editing.INDIC_BRACEMATCH +buffer.indic_style[INDIC_BRACEMATCH] = buffer.INDIC_BOX +buffer:brace_highlight_indicator(not CURSES, INDIC_BRACEMATCH) local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_style[INDIC_HIGHLIGHT] = buffer.INDIC_ROUNDBOX if not CURSES then buffer.indic_under[INDIC_HIGHLIGHT] = true end |