aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/css-mode.css (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * test/indent/css-mode.css: Add tests for url(...) syntax.Stefan Monnier2015-10-291-1/+3
|
* Fix indentation rule in css-modeSimen Heggestøyl2015-08-281-0/+5
| | | | | * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of brackets in presence of pseudo-selectors. (Bug#21328)
* * lisp/emacs-lisp/smie.el (smie-indent-current-column): New funStefan Monnier2015-08-211-1/+1
| | | | | | (smie-indent-exps, smie-indent-keyword): Use it. * test/indent/css-mode.css: Test alignment with leading comment.
* css-mode.el (css-smie-rules): Fix indentation after complex selectorsStefan Monnier2015-04-091-0/+15
| | | | | | | Fixes: debbugs:20282 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by inner structure of selectors.
* * lisp/textmodes/css-mode.el (scss-mode): New major-mode.Stefan Monnier2014-10-201-0/+10
| | | | | | | | | | | | | | | (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.
* * src/eval.c (run_hook_with_args): Use FUNCTIONP.Stefan Monnier2013-10-291-0/+2
| | | | | * test/indent/css-mode.css (.x2): Test alignement inside braces. * test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
* * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation.Stefan Monnier2013-10-071-0/+8
| | | | | | (css-mode): Use electric-indent-chars. Fixes: debbugs:15467
* * lisp/textmodes/css-mode.el (css-smie-rules): Toplevel's a list.Stefan Monnier2013-10-041-0/+3
* test/automated/completion-tests.el: * test/indent/css-mode.css: New files. Fixes: debbugs:15467