开发者

How do I get nesting of css selectors in emacs?

开发者 https://www.devze.com 2023-04-05 01:57 出处:网络
I\'m using emacs 23.2.1 on ubuntu. The default css-mode was ancient and broken, so I removed it. In it\'s place, I started using css-mode-simple.el.

I'm using emacs 23.2.1 on ubuntu. The default css-mode was ancient and broken, so I removed it. In it's place, I started using css-mode-simple.el.

I use media que开发者_Go百科ries, sass and scss, so I need to have nesting in my code. I don't write list, so I can't modify a css-mode myself to create proper indentation.

How can I get nested selectors to indent properly in emacs?


I use sass and scss as well and there is obvious solution for you - sass-mode for Emacs. It's written by the Sass maintainer himself and it's great.

0

精彩评论

暂无评论...
验证码 换一张
取 消