 (bind-key "<C-M-backspace>" #'ar/join-previous-sexp)
 
 (use-package with-editor :ensure t
-  :config
-  (add-hook 'eshell-mode-hook 'with-editor-export-editor)
-  (add-hook 'term-exec-hook   'with-editor-export-editor)
-  (add-hook 'shell-mode-hook  'with-editor-export-editor))
+  :hook ((eshell-mode . with-editor-export-editor)
+         (term-exec . with-editor-export-editor)
+         (shell-mode . with-editor-export-editor)))
 
 (use-package fullframe :ensure t
   :commands (fullframe)

  (forward-line -1)
  (indent-according-to-mode))

;; Do not auto indent current line when pressing <RET>.
(add-hook 'sgml-mode-hook
          (lambda() (local-set-key (kbd "<RET>")
                              #'electric-indent-just-newline)))

(defun ar/smart-open-line (arg)
  "Insert an empty line after the current line.

;; Easy access to links in buffer (using avy).
(use-package link-hint :ensure t)

(use-package bazel-mode
  :init
  (defun ar/bazel-mode-hook-fun ()
    (ar/buffer-run-for-saved-file-name "buildifier" "BUILD")
    (setq-local company-backends '(company-bazel company-rfiles)))
  :after company-grep
  :hook (bazel-mode . ar/bazel-mode-hook-fun))

(use-package use-host-package
  :config
