ソースを参照

Add json-mode default offset

master
10sr 2年前
コミット
c3c718df1b
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更5行の追加0行の削除
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el ファイルの表示

@@ -2167,6 +2167,11 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(when (fboundp 'json-mode)
(add-to-list 'auto-mode-alist
'("/Pipfile\\.lock\\'" . json-mode)))
(add-hook 'json-mode-hook
(lambda ()
;; Stop current line highlighting
(set-variable 'js-indent-level 2 t)
))

(add-hook 'go-mode-hook
(lambda()


読み込み中…
キャンセル
保存