mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Added pyimport support
This commit is contained in:
@ -206,3 +206,18 @@ called.")
|
||||
(add-to-list 'global-mode-string
|
||||
'(conda-env-current-name (" conda:" conda-env-current-name " "))
|
||||
'append))
|
||||
|
||||
|
||||
;; Import managements
|
||||
(def-package! pyimport
|
||||
:after python
|
||||
:init
|
||||
(map! :after python
|
||||
:map 'python-mode-map
|
||||
:localleader
|
||||
(:prefix ("i" . "insert")
|
||||
:desc "Missing imports" "m" #'pyimport-insert-missing)
|
||||
(:prefix ("r" . "remove")
|
||||
:desc "Unused imports" "r" #'pyimport-remove-unused)
|
||||
)
|
||||
)
|
||||
|
@ -20,3 +20,6 @@
|
||||
;; Testing frameworks
|
||||
(package! nose)
|
||||
(package! python-pytest)
|
||||
|
||||
;; Import managements
|
||||
(package! pyimport)
|
||||
|
Reference in New Issue
Block a user