lang/ruby: remove which-key-replacements-alist addition

These will be moved elsewhere eventually.
This commit is contained in:
Henrik Lissner 2020-04-13 22:36:34 -04:00
parent be412c8630
commit 2e8b6aba98
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -178,11 +178,9 @@
(when (featurep! :lang web) (when (featurep! :lang web)
(add-hook 'web-mode-hook #'projectile-rails-mode)) (add-hook 'web-mode-hook #'projectile-rails-mode))
:config :config
(set-popup-rule! "^\\*\\(projectile-\\)?rails" :ttl nil)
(when (featurep! :editor evil) (when (featurep! :editor evil)
(add-hook 'projectile-rails-mode-hook #'evil-normalize-keymaps)) (add-hook 'projectile-rails-mode-hook #'evil-normalize-keymaps))
(map! :localleader (map! :localleader
:map projectile-rails-mode-map :map projectile-rails-mode-map
"r" #'projectile-rails-command-map) "r" #'projectile-rails-command-map))
(push '((nil . "projectile-rails-\\(.+\\)") . (nil . "\\1"))
which-key-replacement-alist)
(set-popup-rule! "^\\*\\(projectile-\\)?rails" :ttl nil))