[oni-python] Remove traad dependency
I'm unable to package up traad for Guix at the moment.
This commit is contained in:
parent
15e555bb5e
commit
5d0fe59719
1 changed files with 2 additions and 7 deletions
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.1201.134230
|
;; Version: 2024.0313.112713
|
||||||
;; Package-Requires: (oni-yasnippet oni-company oni-flycheck oni-hydra oni-lsp rainbow-delimiters reformatter traad)
|
;; Package-Requires: (oni-yasnippet oni-company oni-flycheck oni-hydra oni-lsp rainbow-delimiters reformatter)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
;; it under the terms of the GNU General Public License as published by
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
@ -38,7 +38,6 @@
|
||||||
(require 'hydra)
|
(require 'hydra)
|
||||||
(require 'python)
|
(require 'python)
|
||||||
(require 'reformatter)
|
(require 'reformatter)
|
||||||
(require 'traad)
|
|
||||||
(require 'whitespace)
|
(require 'whitespace)
|
||||||
(require 'yasnippet)
|
(require 'yasnippet)
|
||||||
|
|
||||||
|
@ -80,10 +79,6 @@ for indentation."
|
||||||
:lighter ""
|
:lighter ""
|
||||||
:group 'python-black)
|
:group 'python-black)
|
||||||
|
|
||||||
(defhydra python-refactor-hydra (:color blue)
|
|
||||||
("r" traad-rename "Rename object")
|
|
||||||
("m" traad-extract-method "Extract method"))
|
|
||||||
|
|
||||||
(define-key python-mode-map (kbd "C-c r") 'python-refactor-hydra/body)
|
(define-key python-mode-map (kbd "C-c r") 'python-refactor-hydra/body)
|
||||||
|
|
||||||
(add-hook 'python-mode-hook 'company-mode)
|
(add-hook 'python-mode-hook 'company-mode)
|
||||||
|
|
Loading…
Reference in a new issue