瀏覽代碼

Add json-mode default offset

master
10sr 3 年之前
父節點
當前提交
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()


Loading…
取消
儲存