Bind M-RET to comment-continuation functions in web-mode and typescript-mode
This commit is contained in:
parent
109fd2dd60
commit
ea0a117c45
@ -799,6 +799,8 @@
|
||||
(use-package web-mode
|
||||
:mode "\\.html?\\'"
|
||||
:mode "\\.vue?\\'"
|
||||
:bind (:map web-mode-map
|
||||
("M-<return>" . 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
|
||||
("<M-return>" . c-indent-new-comment-line)))
|
||||
|
||||
(use-package blacken
|
||||
:hook (python-mode . blacken-mode)
|
||||
:delight
|
||||
|
Loading…
Reference in New Issue
Block a user