Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Plug into bracket-matcher to know when cursor is on a matching bracket? #352

Open
trusktr opened this issue May 29, 2018 · 0 comments
Open

Comments

@trusktr
Copy link

trusktr commented May 29, 2018

Hello, I'd like to know if there is some API to know when the cursor is on a matching pair.

What I'd like to do is when the cursor is on a matching pair, I'd like to color the indent guide for that line a certain color.

For example, it could look something like the pink vertical line in this mockup when the cursor is on top of the { character:

screen shot 2018-05-28 at 5 40 30 pm

I'm using the indent-guide-improved package to highlight the white indent guides for the current block that you see in the screenshot, but I manually added the pink line CSS in element inspector to mock it up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant