Declare missing prefixes for 'web-mode and 'css-mode.

This commit is contained in:
jjzmajic 2019-03-29 22:15:16 -07:00 committed by duianto
parent 17ec4da516
commit 64154b1ba3
2 changed files with 6 additions and 0 deletions

View File

@ -1379,6 +1379,7 @@ Other:
Lindqvist)
- Revert setting company min. prefix length to 0 for company-web backend (thanks
to Dela Anthonio)
- Add missing prefixes for =web-mode= and =css-mode= (thanks to Uroš Perišić)
**** Hy
- Added support for virtual envs (thanks to Danny Freeman)
**** Idris

View File

@ -78,6 +78,10 @@
(when (version< emacs-version "25")
(add-hook 'css-mode-hook 'spacemacs/run-prog-mode-hooks))
(spacemacs/declare-prefix-for-mode 'css-mode "m=" "format")
(spacemacs/declare-prefix-for-mode 'css-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'css-mode "mz" "foldz")
(spacemacs/set-leader-keys-for-major-mode 'css-mode
"zc" 'spacemacs/css-contract-statement
"zo" 'spacemacs/css-expand-statement))))
@ -190,6 +194,7 @@
:defer t
:config
(progn
(spacemacs/declare-prefix-for-mode 'web-mode "m=" "format")
(spacemacs/declare-prefix-for-mode 'web-mode "mE" "errors")
(spacemacs/declare-prefix-for-mode 'web-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'web-mode "mh" "dom")