Everytime I expand an abbreviations on a css file it expands as html instead the proper css expansion.
This:
m10+p0
Should expand to this:
margin: 10px;
padding: 0px;
But instead expands to this:
<m10></m10>
<p0></p0>
I have installed the Emmet mode using use-package with this config:
;; --- Emmet Mode ---
;;
(use-package emmet-mode
:ensure t
:init
(add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start on any markup modes
(add-hook 'css-mode-hook 'emmet-mode) ;; Enable Emmet's css abbreviation.
(add-hook 'web-mode-hook 'emmet-mode) ;; Auto-start on any web modes
:config
(local-set-key (kbd "C-c C-e w") nil)
(local-set-key (kbd "C-c C-e w") 'emmet-wrap-with-markup)
)
I tried disabling other packages but still does the same, even running the M-x emmet-expand-line
instead of using the keybinding in case there's any collision on the keybindings.