summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
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)))