]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/textmodes/css-mode.el (css-ts-mode): Fix imenu setup.
authorYuan Fu <casouri@gmail.com>
Thu, 29 Dec 2022 19:41:26 +0000 (11:41 -0800)
committerYuan Fu <casouri@gmail.com>
Thu, 29 Dec 2022 19:41:26 +0000 (11:41 -0800)
lisp/textmodes/css-mode.el

index 204331ec72f728f23c70461b1b3ea91b047c8c6d..19f5fa303f94dfaaf570dd123566a2f65e6b4c0f 100644 (file)
@@ -1821,8 +1821,8 @@ can also be used to fill comments.
                   (property constant string)
                   (error variable function operator bracket)))
     (setq-local treesit-simple-imenu-settings
-                `( nil ,(rx bos (or "rule_set" "media_statement") eos)
-                   nil nil))
+                `(( nil ,(rx bos (or "rule_set" "media_statement") eos)
+                    nil nil)))
     (treesit-major-mode-setup)))
 
 ;;;###autoload