From 579fbb55d16ca03dd41a16310614a4a73b97927b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 23 Sep 2024 05:05:45 +0200 Subject: emacs: Use css-ts-mode --- .config/emacs/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/emacs/init.el') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 0c42f82..e162d34 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -422,6 +422,7 @@ mode requires settings additional variables, those should be listed in (setq treesit-language-source-alist '((cpp "https://github.com/tree-sitter/tree-sitter-cpp") + (css "https://github.com/tree-sitter/tree-sitter-css") (elisp "https://github.com/Wilfred/tree-sitter-elisp") (go "https://github.com/tree-sitter/tree-sitter-go") (gomod "https://github.com/camdencheek/tree-sitter-go-mod") @@ -449,6 +450,7 @@ existing grammars." (mapc #'treesit-install-language-grammar)) (dolist (pair '(("\\.[ch]\\'" . c-ts-mode) + ("\\.css\\'" . css-ts-mode) ("\\.js\\'" . js-ts-mode))) (add-to-list 'auto-mode-alist pair))) -- cgit v1.2.3