summaryrefslogtreecommitdiff
path: root/lisp/json.el
blob: 786aa4de24bb539fb0ba534b346cb50206c3d6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

;;; Code:
(add-to-list 'auto-mode-alist '(".eslintrc'" . json-mode))

(defun my-json-mode-hook ()
	"Turn off eglot in JSON mode."
	(flymake-mode 0)
  (flycheck-mode 0)
	)

(add-hook 'json-mode-hook 'my-json-mode-hook)

(provide 'json)
;;; json.el ends here