diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-23 05:05:45 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-23 05:05:45 +0200 |
commit | 579fbb55d16ca03dd41a16310614a4a73b97927b (patch) | |
tree | 9c600e087a3aaa512cd20fbf986536e8a44d2212 /.config | |
parent | e0bf381fec949389572c16ea0eac2c2aca473bc6 (diff) |
emacs: Use css-ts-mode
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/init.el | 2 |
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))) |