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:
parent
39743efc0a
commit
f56df18892
@ -81,3 +81,7 @@
|
|||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
(setq-default tab-width 4)
|
(setq-default tab-width 4)
|
||||||
(setq indent-line-function 'insert-tab)
|
(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)
|
||||||
|
Loading…
Reference in New Issue
Block a user