Parcourir la source

Add json-mode default offset

master
10sr il y a 2 ans
Parent
révision
c3c718df1b
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el Voir le fichier

@@ -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()


Chargement…
Annuler
Enregistrer