[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 8de8f1dc051 6/7: Add class_body indentation for typescript (bug
From: |
Yuan Fu |
Subject: |
emacs-29 8de8f1dc051 6/7: Add class_body indentation for typescript (bug#59680) |
Date: |
Fri, 9 Dec 2022 19:46:45 -0500 (EST) |
branch: emacs-29
commit 8de8f1dc05198ea9a1106ac2282acc9c93ee1ebd
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Yuan Fu <casouri@gmail.com>
Add class_body indentation for typescript (bug#59680)
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): New indent rule.
---
lisp/progmodes/typescript-ts-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/typescript-ts-mode.el
b/lisp/progmodes/typescript-ts-mode.el
index c4a5bd37e05..8c4364ecc5b 100644
--- a/lisp/progmodes/typescript-ts-mode.el
+++ b/lisp/progmodes/typescript-ts-mode.el
@@ -89,6 +89,7 @@ Argument LANGUAGE is either `typescript' or `tsx'."
((parent-is "object") parent-bol typescript-ts-mode-indent-offset)
((parent-is "object_type") parent-bol typescript-ts-mode-indent-offset)
((parent-is "enum_body") parent-bol typescript-ts-mode-indent-offset)
+ ((parent-is "class_body") parent-bol typescript-ts-mode-indent-offset)
((parent-is "arrow_function") parent-bol typescript-ts-mode-indent-offset)
((parent-is "parenthesized_expression") parent-bol
typescript-ts-mode-indent-offset)
- emacs-29 updated (33a8415eb7e -> 8f53fa10d94), Yuan Fu, 2022/12/09
- emacs-29 4df35e3491c 1/7: Improve fontification in csharp-ts-mode (bug#59909), Yuan Fu, 2022/12/09
- emacs-29 839341d7370 5/7: Make more granular defun-type-regexp (bug#59873), Yuan Fu, 2022/12/09
- emacs-29 1014bcc8e32 3/7: Fix fontification of method-invocations in js-ts-mode (bug#59904), Yuan Fu, 2022/12/09
- emacs-29 7141920c6af 2/7: Fix escape-sequence feature in typescript-ts-mode (bug#59906), Yuan Fu, 2022/12/09
- emacs-29 8de8f1dc051 6/7: Add class_body indentation for typescript (bug#59680),
Yuan Fu <=
- emacs-29 8f53fa10d94 7/7: Fontify "this" as a keyword in c++-ts-mode (bug#59924), Yuan Fu, 2022/12/09
- emacs-29 8f49137c9bf 4/7: Add dockerfile-ts-mode (Bug#59894), Yuan Fu, 2022/12/09