all repos — archive/dotfiles @ e4e278906803759063a61a285fc74e331e142e9f

Superseded by nixfiles

Emacs: Install and configure company-restclient
Alan Pearce alan@alanpearce.uk
Wed, 01 Feb 2017 16:46:09 +0100
commit

e4e278906803759063a61a285fc74e331e142e9f

parent

7c5d4880ec9eb293405284a4650b0ff0a237cc2e

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -2025,6 +2025,10 @@ (setq imenu-prev-index-position-function nil)               (add-to-list 'imenu-generic-expression '("Services" "^## ?\\(.+\\)$" 1) t)
               (add-to-list 'imenu-generic-expression '("Calls" "^# ?\\(.+\\)$" 1) t))
             (add-hook 'restclient-mode-hook #'imenu-restclient-sections)))
+
+(use-package company-restclient
+  :after (company restclient)
+  :init (add-to-list 'company-backends #'company-restclient t))
 #+END_SRC
 
 *** sgml-mode