python: add pip-requirements plugin
This commit is contained in:
parent
dbd4e45a41
commit
451a02c7a8
2 changed files with 5 additions and 0 deletions
1
Cask
1
Cask
|
@ -192,6 +192,7 @@
|
||||||
(depends-on "nose")
|
(depends-on "nose")
|
||||||
(depends-on "anaconda-mode")
|
(depends-on "anaconda-mode")
|
||||||
(depends-on "company-anaconda")
|
(depends-on "company-anaconda")
|
||||||
|
(depends-on "pip-requirements")
|
||||||
|
|
||||||
;; Ruby -- modules/module-ruby.el
|
;; Ruby -- modules/module-ruby.el
|
||||||
(depends-on "ruby-refactor")
|
(depends-on "ruby-refactor")
|
||||||
|
|
|
@ -56,6 +56,10 @@
|
||||||
(find-file "find assignments" t)
|
(find-file "find assignments" t)
|
||||||
(find-references "show usages" nil))))))
|
(find-references "show usages" nil))))))
|
||||||
|
|
||||||
|
(use-package pip-requirements
|
||||||
|
:mode ("/requirements.txt$" . pip-requirements-mode)
|
||||||
|
:config (define-company-backend! pip-requirements-mode (capf)))
|
||||||
|
|
||||||
(use-package nose
|
(use-package nose
|
||||||
:commands nose-mode
|
:commands nose-mode
|
||||||
:preface (defvar nose-mode-map (make-sparse-keymap))
|
:preface (defvar nose-mode-map (make-sparse-keymap))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue