chzyer / readline

Readline is a pure go(golang) implementation for GNU-Readline kind library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Highlight parenthesis

xyproto opened this issue · comments

Hi,

Thanks for creating this package! I'm using it in Algernon and it works wonderfully. There is tab completion and history, and it's really smooth and pleasant to work with.

The only thing I'm missing is a way to highlight parentheses and brackets, when typing a long command, either just with one color or "rainbow parentheses style", like this:

rainbow parenthesis

I don't know if it's possible to add to this package, or if it's a lot of work, but it would be really helpful in the Algernon REPL, when typing longer lines of Lua code, hence this feature request.

Cheers!