| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
* lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
brackets in presence of pseudo-selectors. (Bug#21328)
|
| |
|
|
|
|
| |
(smie-indent-exps, smie-indent-keyword): Use it.
* test/indent/css-mode.css: Test alignment with leading comment.
|
| |
|
|
|
|
|
| |
Fixes: debbugs:20282
* lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
inner structure of selectors.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(css-mode-syntax-table): Use d style comment, to ease the scss case.
(css-ident-re): Allow things like @-moz-keyframes.
(scss--hash-re): New const.
(css--font-lock-keywords): New function, extracted from
css-font-lock-keywords.
(css-font-lock-keywords): Use it.
(scss-mode-syntax-table, scss-font-lock-keywords): New vars.
(scss-smie--not-interpolation-p): New function.
(css-smie--forward-token, css-smie--backward-token): Use it.
(css-mode): Remove left-over code.
* test/indent/scss-mode.scss: New file.
* test/indent/css-mode.css: Add a few uneventful examples.
|
| |
|
|
|
| |
* test/indent/css-mode.css (.x2): Test alignement inside braces.
* test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
|
| |
|
|
|
|
| |
(css-mode): Use electric-indent-chars.
Fixes: debbugs:15467
|
|
|
* test/automated/completion-tests.el:
* test/indent/css-mode.css: New files.
Fixes: debbugs:15467
|