help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to highlight block end in Python-mode indentation


From: Krishnakant
Subject: Re: how to highlight block end in Python-mode indentation
Date: Sat, 20 May 2017 12:07:47 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1



On Friday 19 May 2017 05:48 PM, Joost Kremers wrote:

On Fri, May 19 2017, Krishnakant wrote:
let's say I have my cursor on a def func():

I wish to know if there is a way to highlite where this indented block of
function ends?

Same applies to if, for and while etc.

It comes in very handy when there is nested indentation.

Perhaps not exactly what you're looking for, but it should serve the same purpose: check out the packages highlight-indentation or (my personal preference) indent-guide.
HI,
I tryed indent-gide and it sutes perfectly.
Just one question.
How can I have it work for every block and not just for class and function in Python?
It is not effective for if, while try: catch etc.
I am sure it can be made to work because the screenshot on the github page has it there.
Just wondering what to toggle.
Happy hacking.
Krishnakant.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]