bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13425: new css-mode indenter


From: E Sabof
Subject: bug#13425: new css-mode indenter
Date: Sun, 13 Jan 2013 07:43:31 +0000

I've written a new indenter for CSS, which fixes issues with mulitline statements following a colon, and comments: 

body {
    color: #333;
    font: 15px "Helvetica Neue",
        Helvetica,
        Arial, 
        "Nimbus Sans L",
        sans-serif;
    font-weight: 300;
    line-height: 1.625;
    a { /* It also handles SCSS */
        font: 15px "Helvetica Neue",
            Helvetica,
            Arial, 
            "Nimbus Sans L",
            sans-serif;
        /* Some comment */
    }
    /* Some comment at the end of a block */
}

I wondered whether this functionality could be integrated into Emacs.
https://github.com/sabof/es-css-mode
https://github.com/sabof/es-lib (it takes some functions from it)

Evgeni


reply via email to

[Prev in Thread] Current Thread [Next in Thread]