diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4c77be3..838b9c2 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -799,6 +799,8 @@ (use-package web-mode :mode "\\.html?\\'" :mode "\\.vue?\\'" + :bind (:map web-mode-map + ("M-" . web-mode-comment-indent-new-line)) :config (add-to-list 'web-mode-indentation-params '("lineup-calls" . nil)) (setq-default web-mode-markup-indent-offset 2 @@ -996,6 +998,10 @@ (org-lookup-dnd-parse-extras) (org-lookup-dnd-dump-vars-to-file '(org-lookup-dnd-db) org-lookup-dnd-db-file)) +(use-package typescript-mode + :bind (:map typescript-mode-map + ("" . c-indent-new-comment-line))) + (use-package blacken :hook (python-mode . blacken-mode) :delight