reddit / emacs

Origami folding for python only with using use-package

wWA5RnA4n2P3w2WvfHq ยท 2022-04-21 20:34
I want to activate `origami` folding mode for `python` only. I do use `use-package` for loading and configuring my packages. This is what I tried so far (use-package origami) (use-package python :ensure nil ; in-build! :hook (python-mode . origami-mode) :custom (python-shell-interpreter "python3") )