diff options
author | Alan Pearce | 2024-04-12 18:50:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-12 18:50:08 +0200 |
commit | bb8f0906552591d789b20897d53fe4e845dd801f (patch) | |
tree | c1f24379348dfaa1b85bbf9a66356486044c24c2 /user/emacs | |
parent | 4c66928368886bb64c3b5751d0265891cf6aebf6 (diff) | |
download | nixfiles-bb8f0906552591d789b20897d53fe4e845dd801f.tar.lz nixfiles-bb8f0906552591d789b20897d53fe4e845dd801f.tar.zst nixfiles-bb8f0906552591d789b20897d53fe4e845dd801f.zip |
Emacs: install astro-ts-mode
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 39fd0eee..8dd7831c 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -775,6 +775,9 @@ _p_rev _u_pper _=_: upper/lower _r_esolve typescript-ts-mode-indent-offset 2))) (add-to-list 'major-mode-remap-alist '(typescript-mode . typescript-ts-mode)) +(use-package astro-ts-mode + :mode (("\\.astro\\'" . astro-ts-mode))) + (autoload 'ansi-color-apply-on-region "ansi-color") (defun colourise-compilation-buffer () (ansi-color-apply-on-region compilation-filter-start (point-max))) |