How can I turn off Emacs elpy vertical guide lines for indents?

I am installing Emacs for Python development.

So I installed elpy.

But I don't like vertical guides for padding.

How can I turn it off or change its color?

enter image description here

+6


source to share


3 answers


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)))

      



UPDATE: changed zero to -1

Source

+8


source


Mx customize face

In the minibuffer, type: highlight-indentation-face

Now you can disable or change as you see fit.



Alternatively, place the cursor in any of the selected indentation bars, then

Mx customize face

The argument in the minibuffer must default to the correct value

0


source


You can configure a variable elpy-modules

to disable the Display Indent Markers module.

0


source







All Articles