1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 07:40:39 -08:00

* lisp/textmodes/css-mode.el (css-smie-rules): Toplevel's a list.

* test/automated/completion-tests.el:
* test/indent/css-mode.css: New files.

Fixes: debbugs:15467
This commit is contained in:
Stefan Monnier 2013-10-04 17:45:37 -04:00
parent 258ab3bc88
commit a27c1b72c5
5 changed files with 59 additions and 0 deletions

View file

@ -302,6 +302,7 @@
(pcase (cons kind token)
(`(:elem . basic) css-indent-offset)
(`(:elem . arg) 0)
(`(:list-intro . "") t) ;"" stands for BOB (bug#15467).
(`(:before . "{") (if (smie-rule-hanging-p)
(smie-rule-parent 0)))))