lang/python: move :lookup setting to anaconda-mode block
This commit is contained in:
parent
12ac162276
commit
ac825754c6
1 changed files with 4 additions and 5 deletions
|
@ -80,7 +80,10 @@ environment variables."
|
||||||
:config
|
:config
|
||||||
(add-hook 'anaconda-mode-hook #'anaconda-eldoc-mode)
|
(add-hook 'anaconda-mode-hook #'anaconda-eldoc-mode)
|
||||||
(set! :popup "^\\*anaconda-mode" nil '((select)))
|
(set! :popup "^\\*anaconda-mode" nil '((select)))
|
||||||
(map! :map anaconda-mode-map :m "gd" #'anaconda-mode-find-definitions)
|
(set! :lookup 'python-mode
|
||||||
|
:definition #'anaconda-mode-find-definitions
|
||||||
|
:references #'anaconda-mode-find-references
|
||||||
|
:documentation #'anaconda-mode-show-doc)
|
||||||
(advice-add #'anaconda-mode-doc-buffer :after #'doom*anaconda-mode-doc-buffer))
|
(advice-add #'anaconda-mode-doc-buffer :after #'doom*anaconda-mode-doc-buffer))
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,10 +91,6 @@ environment variables."
|
||||||
:when (featurep! :completion company)
|
:when (featurep! :completion company)
|
||||||
:after anaconda-mode
|
:after anaconda-mode
|
||||||
:config
|
:config
|
||||||
(set! :lookup 'python-mode
|
|
||||||
:definition #'anaconda-mode-find-definitions
|
|
||||||
:references #'anaconda-mode-find-references
|
|
||||||
:documentation #'anaconda-mode-show-doc)
|
|
||||||
(map! :map python-mode-map
|
(map! :map python-mode-map
|
||||||
:localleader
|
:localleader
|
||||||
:prefix "f"
|
:prefix "f"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue