summaryrefslogtreecommitdiffstats
path: root/lisp/init-restclient.el
blob: 070153d86d05f55590f17cf97ad59441ca05207d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; init-restclient.el --- configure restclient
;;; Commentary:
;;; Code:

(use-package restclient
  :ensure t
  :init
  ;; limit number of times vars are substituted
  (setq restclient-vars-max-passes 2)
  ;; use matching client certificates from ~/.authinfo
  (setq network-stream-use-client-certificates t)
  ;; use this mode for .http extension
  :mode (("\\.http\\'" . restclient-mode)))

(provide 'init-restclient)

;;; init-restclient.el ends here