Elpy: Disable highlight-indentation-mode

Created on 23 Apr 2013  路  10Comments  路  Source: jorgenschaefer/elpy

Hi there,

Is there any option to disable the highlight-indentation-mode?

Thank you!

Enhancement

Most helpful comment

Use M-x customize-variable RET elpy-modules RET and remove the checkbox from the "highlight indentation" line.

All 10 comments

Hello

Have you tried M-x highlight-indentation ? This should toggle the highlight state of indentation.

Also if you want to permanently enable/disable this you can checkout Elpy Default Minor modes by doing a M-x customize-group elpy

You can also remove it from elpy-default-minor-modes.

No updated, I assume this is fixed.

Hi,
I am trying to disable highlight-indentation-mode but for some reason it's still enabled for python files. Can you explain more how it can be disabled?

Removing elpy-module-highlight-indentation from elpy-modules should work. That won't disable the mode for existing buffers, but for new ones. You can disable the mode in existing buffers using M-x highlight-indentation-mode.

Thanks it works. My problem was that apparently emacs was using the old compiled file instead of the modified one.

If you have a very recent Emacs (post 24.3), you can look at load-prefer-newer to prevent Emacs from loading compiled files if newer source files exist in the future :-)

i don't have any elpy-module-highlight....
is there any way i can disable it?
what i do now, is i useM-x highlight-indentation-mode

Use M-x customize-variable RET elpy-modules RET and remove the checkbox from the "highlight indentation" line.

Another solution is to add a hook that remove this minor mode (not the best solution, i know):
(add-hook 'elpy-mode-hook (lambda () (highlight-indentation-mode -1)))

Was this page helpful?
0 / 5 - 0 ratings