antonj / Highlight-Indentation-for-Emacs

Minor modes to highlight indentation guides in emacs.
467 stars 56 forks source link

Indent-bar for only the current line's indentation #5

Closed krestenkrab closed 11 years ago

krestenkrab commented 12 years ago

This gist has some code to create a vertical bar corresponding to the indentation of the current line

https://gist.github.com/1510432

You're welcome to integrate

antonj commented 12 years ago

Cool, gonna try it out!

On Thu, Dec 22, 2011 at 4:17 PM, Kresten Krab Thorup reply@reply.github.com wrote:

This gist has some code to create a vertical bar corresponding to the indentation of the current line

https://gist.github.com/1510432

You're welcome to integrate


Reply to this email directly or view it on GitHub: https://github.com/antonj/Highlight-Indentation-for-Emacs/issues/5

krestenkrab commented 12 years ago

I just updated it there, it was actually pretty broken. Now it behaves like a proper minor mode

antonj commented 12 years ago

Great mode, I think you should consider moving it into a real repo or can you think of any reason to merge this with highlight-indentation?

Also changing "^.\\{%d\\}\\( \\)" to "^ \\{%d\\}\\( \\)" will match only whitespace from the beginning of line to the first char.

antonj commented 12 years ago

Merged it, shuffled some code around... Let me know what you think.