Browse Source

Remove the dependency to magit-popup

workspaces
Nicolas Petton 3 years ago
parent
commit
e2c407d2f0
Signed by: nico GPG Key ID: 233587A47C207910
3 changed files with 7 additions and 14 deletions
  1. +0
    -1
      Cask
  2. +6
    -12
      indium-interaction.el
  3. +1
    -1
      indium.el

+ 0
- 1
Cask View File

@ -5,7 +5,6 @@
(depends-on "websocket")
(depends-on "company")
(depends-on "magit-popup")
(depends-on "exec-path-from-shell")
(development


+ 6
- 12
indium-interaction.el View File

@ -29,7 +29,6 @@
(require 'map)
(require 'seq)
(require 'subr-x)
(require 'magit-popup)
(require 'indium-backend)
(require 'indium-inspector)
@ -195,19 +194,14 @@ hitting a breakpoint."
(define-key map (kbd "C-c M-i") #'indium-inspect-last-node)
(define-key map (kbd "C-c C-z") #'indium-switch-to-repl-buffer)
(define-key map (kbd "C-c C-k") #'indium-update-script-source)
(define-key map (kbd "C-c b") #'indium-breakpoints-popup)
(define-key map (kbd "C-c b b") #'indium-add-breakpoint)
(define-key map (kbd "C-c b c") #'indium-add-conditional-breakpoint)
(define-key map (kbd "C-c b k") #'indium-remove-breakpoint)
(define-key map (kbd "C-c b K") #'indium-remove-all-breakpoints-from-buffer)
(define-key map (kbd "C-c b a") #'indium-activate-breakpoints)
(define-key map (kbd "C-c b d") #'indium-deactivate-breakpoints)
map))
(magit-define-popup indium-breakpoints-popup
"Popup for breakpoint commands."
'magit-popups
:actions '((?b "Add breakpoint" indium-add-breakpoint)
(?c "Add conditional breakpoint" indium-add-conditional-breakpoint)
(?k "Remove breakpoint" indium-remove-breakpoint)
(?K "Remove all breakpoints" indium-remove-all-breakpoints-from-buffer)
(?a "Activate breakpoints" indium-activate-breakpoints)
(?d "Deactivate breakpoints" indium-deactivate-breakpoints)))
(define-minor-mode indium-interaction-mode
"Mode for JavaScript evalution.


+ 1
- 1
indium.el View File

@ -6,7 +6,7 @@
;; URL: https://github.com/NicolasPetton/indium
;; Keywords: tools, javascript
;; Version: 0.5.0
;; Package-Requires: ((emacs "25") (seq "2.16") (js2-mode "20140114") (company "0.9.0") (websocket "1.6") (magit-popup "2.10.3") (exec-path-from-shell "1.11"))
;; Package-Requires: ((emacs "25") (seq "2.16") (js2-mode "20140114") (company "0.9.0") (websocket "1.6") (exec-path-from-shell "1.11"))
;; 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


Loading…
Cancel
Save