3

What I am looking for is a guide to show what area of the code a set of brackets covers. I am not referring to highlighting the match between parentheses or brackets but instead outlining the field between those brackets as show in here:

enter image description here

This image was taken from Visual Studio

qKweint
  • 90
  • 6

1 Answers1

4

It's based more on indentation level than "brackets", but does DarthFennec/highlight-indent-guides provide what you're looking for?

From the README:

This minor mode highlights indentation levels via font-lock. Indent widths are dynamically discovered, which means this correctly highlights in any mode, regardless of indent width, even in languages with non-uniform indentation such as Haskell. By default, this mode also inspects your theme dynamically, and automatically chooses appropriate colors for highlighting. This mode works properly around hard tabs and mixed indentation, and it behaves well in large buffers.

And a sample screenshot, again from the README:

screen shot from the readme

nega
  • 3,091
  • 15
  • 21