From 354a09974b41e6fc498c58f8eaad1c7b8270b658 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 6 Jun 2018 17:02:49 +0100 Subject: [PATCH] Add realgud and realgud-byebug packages --- custom.el | 2 +- modules/debugging/siren-realgud.el | 12 ++++++++++++ modules/languages/siren-ruby.el | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 modules/debugging/siren-realgud.el diff --git a/custom.el b/custom.el index 6a4e66c..314f006 100644 --- a/custom.el +++ b/custom.el @@ -7,7 +7,7 @@ '(magit-commit-arguments (quote ("-S"))) '(package-selected-packages (quote - (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package toggle-quotes thrift string-inflection smex smartparens smart-shift smart-mode-line slim-mode seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-compilation rubocop rspec-mode robe rjsx-mode restart-emacs resize-window rainbow-mode racer prettier-js plantuml-mode php-mode phi-search nlinum neotree multiple-cursors move-dup markdown-mode magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ hlinum highlight-symbol highlight-indentation highlight-indent-guides helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-package flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx dired-subtree diminish diff-hl company-go coffee-mode cargo buffer-move browse-kill-ring anzu airline-themes ace-window)))) + (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package toggle-quotes thrift string-inflection smex smartparens smart-shift smart-mode-line slim-mode seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-compilation rubocop rspec-mode robe rjsx-mode restart-emacs resize-window realgud-byebug realgud rainbow-mode racer prettier-js plantuml-mode php-mode phi-search nlinum neotree multiple-cursors move-dup markdown-mode magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ hlinum highlight-symbol highlight-indentation highlight-indent-guides helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-package flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx dired-subtree diminish diff-hl company-go coffee-mode cargo buffer-move browse-kill-ring anzu airline-themes ace-window)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/modules/debugging/siren-realgud.el b/modules/debugging/siren-realgud.el new file mode 100644 index 0000000..7ccea48 --- /dev/null +++ b/modules/debugging/siren-realgud.el @@ -0,0 +1,12 @@ +;;; siren-realgud.el --- jimeh's Emacs Siren: realgud configuration. + +;;; Commentary: + +;; Basic configuration for realgud. + +;;; Code: + +(use-package realgud) + +(provide 'siren-realgud) +;;; siren-realgud.el ends here diff --git a/modules/languages/siren-ruby.el b/modules/languages/siren-ruby.el index a761c4d..6d93e52 100644 --- a/modules/languages/siren-ruby.el +++ b/modules/languages/siren-ruby.el @@ -9,6 +9,7 @@ (require 'siren-company) (require 'siren-folding) (require 'siren-highlight-indentation) +(require 'siren-realgud) (require 'siren-smartparens) (require 'siren-toggle-quotes) @@ -85,6 +86,10 @@ :config (unbind-key "C-c C-r" inf-ruby-minor-mode-map)) +(use-package realgud-byebug + :commands realgud:byebug + :after realgud) + (use-package robe :defer t :bind (:map robe-mode-map