开发者

Django templates indentation in Emacs

I'm using django-html-mumamo-mode in o开发者_开发百科rder to manage Django templates in Emacs. Unfortunately, I've searched over the net but didn't find any way to change the HTML indentation from 2 to 4, when this mode is activated.

How can this be done?


Try customizing the variable django-indent-width, for example by adding this to your .emacs file:

(setq django-indent-width 4)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜