Workaround for emacs hanging

The issue occurs when any python requirements.txt file is opened and
    caused by pip-requirements.
    An upstream issue exists, but has not seen any response and the
    upstream project looks rather dead
    https://github.com/Wilfred/pip-requirements.el/issues/11
This commit is contained in:
RealStickman 2023-03-16 16:51:48 +01:00
parent 39743efc0a
commit f56df18892

View File

@ -81,3 +81,7 @@
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq indent-line-function 'insert-tab)
;; work around emacs hanging when opening any python requirements.txt file
;; see issue https://github.com/doomemacs/doomemacs/issues/5998
(advice-add #'pip-requirements-fetch-packages :override #'ignore)