Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
;; インデントの関数の再設定
(add-hook 'js2-mode-hook
#'(lambda ()
(require 'js)
(setq js-indent-level 4
js-expr-indent-offset 4
indent-tabs-mode nil)
(set (make-local-variable 'indent-line-function) 'js-indent-line)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment