Skip to content

Commit 5cc6510

Browse files
committed
feat: handle js-ts-mode for dtrt
1 parent c0d51af commit 5cc6510

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

init.org

+2-1
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,8 @@ Guess indentation offset and adjust the corresponding setting.
13651365
(setq dtrt-indent-verbosity 0)
13661366
:config
13671367
(cl-pushnew '(default default (standard-indent tab-width)) dtrt-indent-hook-mapping-list :test #'equal)
1368-
(cl-pushnew '(groovy-mode default tab-width) dtrt-indent-hook-mapping-list :test #'equal))
1368+
(cl-pushnew '(groovy-mode default tab-width) dtrt-indent-hook-mapping-list :test #'equal)
1369+
(cl-pushnew '(js-ts-mode javascript js-indent-level) dtrt-indent-hook-mapping-list :test #'equal))
13691370
#+end_src
13701371

13711372
*** grugru

0 commit comments

Comments
 (0)