Skip to content

Commit

Permalink
perl5: Fix for leader key prefix name on CPerl mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinseop Kim authored and sdwolfz committed May 14, 2018
1 parent 5b70ac5 commit e3c6772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layers/+lang/perl5/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
(add-hook 'cperl-mode-hook
(lambda () (local-set-key (kbd "<tab>") 'indent-for-tab-command)))

(spacemacs/declare-prefix "m=" "format")
(spacemacs/declare-prefix "mg" "find-symbol")
(spacemacs/declare-prefix "mh" "perldoc")
(spacemacs/declare-prefix-for-mode 'cperl-mode "m=" "format")
(spacemacs/declare-prefix-for-mode 'cperl-mode "mg" "find-symbol")
(spacemacs/declare-prefix-for-mode 'cperl-mode "mh" "perldoc")
(spacemacs/set-leader-keys-for-major-mode 'cperl-mode
"==" 'spacemacs/perltidy-format
"=b" 'spacemacs/perltidy-format-buffer
Expand Down

0 comments on commit e3c6772

Please sign in to comment.