New answers tagged

0

You need the following to preserve the spaces or tabs. # expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))


1

I am using this: (if (version< "27.0" emacs-version) (setq python-font-lock-keywords-maximum-decoration (append python-font-lock-keywords-maximum-decoration '(("f\\(['\"]\\{1,3\\}\\)\\(.+?\\)\\1" ("{[^}]*?}" (progn (goto-char (match-beginning 0)) (match-end 0)) ...


0

I just activated python and (format +onsave) only. You must run doom/reload (SPC h r r) after doom sync. Activate virtualenv with SPC : pyvenv-activate Install black with python -m pip install black Close open Python buffer and open again. SPC b s to save buffer. SPC c f to format buffer / region. Run doom doctor to diagnose problems.


1

The following worked for me: setting variable realgud-populate-common-fn-keys-function to nil


0

I found myself with the same problem. The problem was that I started from a completely new miniconda3 install and although I had created a virtual environment, it was not initialized yet. So after installing a module pvyenv-workon worked as expected. So, in your terminal, just create an environment, activate it and install a module e.g. conda install wheel


Top 50 recent answers are included