diff options
author | Thomas Voss <thomas.voss@humanwave.nl> | 2025-06-13 14:55:55 +0200 |
---|---|---|
committer | Thomas Voss <thomas.voss@humanwave.nl> | 2025-06-13 14:55:55 +0200 |
commit | 414209a157ff0b11bd6277baace03d4bda67ff5f (patch) | |
tree | 84a02d5f6b5a2318355e4fa45b4eafa8b5dd450e | |
parent | caedc2734d5acc6197beb82819fd7235273c63d7 (diff) |
emacs: Set indent width for Vue and TypeScript
-rw-r--r-- | .config/emacs/modules/mm-editing.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el index 14f5211..8eb0eb2 100644 --- a/.config/emacs/modules/mm-editing.el +++ b/.config/emacs/modules/mm-editing.el @@ -67,7 +67,10 @@ (sgml-mode . (:extras sgml-basic-offset)) (sh-mode . (:extras sh-basic-offset)) (tex-mode . (:width 2)) - (vimscript-ts-mode . (:extras vimscript-ts-mode-indent-level))) + (typescript-ts-mode . (:extras typescript-ts-mode-indent-offset)) + (vimscript-ts-mode . (:extras vimscript-ts-mode-indent-level)) + (vue-ts-mode . (:extras (typescript-ts-mode-indent-offset + vue-ts-mode-indent-offset)))) "Alist of indentation settings. Each pair in this alist is of the form (MODE . SETTINGS) where MODE specifies the mode for which the given SETTINGS should apply. |