10sr před 3 roky
rodič
revize
a134954d93
Podepsáno: 10sr ID GPG klíče: 7BEC428194130EB2
1 změnil soubory, kde provedl 14 přidání a 2 odebrání
  1. +14
    -2
      emacs.el

+ 14
- 2
emacs.el Zobrazit soubor

@@ -1239,7 +1239,7 @@ THEM are function and its args."
(when (and (require 'recently nil t)
(fboundp 'ivy-read))
(defun my-counsel-recently ()
"Consel `recently'."
"Counsel `recently'."
(interactive)
(ivy-read "Recently: " (mapcar 'abbreviate-file-name (recently-list))
:require-match t
@@ -1746,6 +1746,17 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
;; Used in interactive function of pydoc
(with-venv-advice-add 'pydoc-all-modules)))

(defvar my-cousel-pydoc-history nil "History of `my-counsel-pydoc'.")
(defun my-counsel-pydoc ()
"Counsel `pydoc'."
(interactive)
(eval-and-compile (require 'pydoc nil t))
(ivy-read "Recently: " (pydoc-all-modules)
:require-match t
:history 'my-cousel-pydoc-history
:action (lambda (x) (pydoc x))
:caller 'my-counsel-pydoc))

(set-variable 'flycheck-python-mypy-config '("mypy.ini" ".mypy.ini" "setup.cfg"))
(set-variable 'flycheck-flake8rc '("setup.cfg" "tox.ini" ".flake8rc"))

@@ -3144,7 +3155,8 @@ ARGS are not used."
(with-eval-after-load 'eglot
(when (fboundp 'with-venv-advice-add)
(with-venv-advice-add 'eglot--executable-find))
(set-variable 'eldoc-echo-area-use-multiline-p nil))
(set-variable 'eldoc-echo-area-use-multiline-p nil)
(set-variable 'eglot-extend-to-xref t))





Načítá se…
Zrušit
Uložit