Update dash configuration for Ruby

This commit is contained in:
Maciej 2018-09-11 22:21:50 +03:00
parent d01b5194d2
commit 9c77e9bd25
Signed by: maciej
GPG key ID: 41D62D42D3B0D765

View file

@ -29,8 +29,11 @@
;;; When pasting/writing over a selection, replace it.
(delete-selection-mode 1)
;; Key bindings
;; Dash
(define-key prog-mode-map (kbd "C-d") 'dash-at-point) ;; Jump to dash definition
(add-to-list
'dash-at-point-mode-alist
'(enh-ruby-mode . "ruby,rubygems,rails")) ;; Configure lookup for Ruby mode
;; When possible, show code documentation
(global-eldoc-mode 1)