Search code examples
emacselpy

How to Disable Emacs elpy Vertical Guide Lines for Indentation?


I am setting Emacs for python development.

So I installed elpy.

But I do not like vertical guide lines for indentation.

How can I disable it or change its color?

enter image description here


Solution

  • You can disable highlight-indentation-mode for elpy-mode, by adding the following code to your emacs initialization.

    (add-hook 'elpy-mode-hook (lambda () (highlight-indentation-mode -1)))
    

    EDIT: changed nil to -1

    Source