diff --git a/evil-collection-eldoc.el b/evil-collection-eldoc.el new file mode 100644 index 0000000..ff08234 --- /dev/null +++ b/evil-collection-eldoc.el @@ -0,0 +1,39 @@ +;;; evil-collection-eldoc.el --- Bindings for `eldoc'. -*- lexical-binding: t -*- + +;; Copyright (C) 2018 James Nguyen + +;; Author: James Nguyen +;; Maintainer: James Nguyen +;; Pierre Neidhardt +;; URL: https://github.com/emacs-evil/evil-collection +;; Version: 0.0.1 +;; Package-Requires: ((emacs "25.1")) +;; Keywords: evil, emacs, tools + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Commentary: +;;; Bindings for `eldoc'. + +;;; Code: +(require 'eldoc) +(require 'evil) + +(defun evil-collection-eldoc-setup () + "Set up `evil' bindings for `eldoc'.." + (when (fboundp 'eldoc-add-command-completions) + (eldoc-add-command-completions "evil-window-"))) + +(provide 'evil-collection-eldoc) +;;; evil-collection-eldoc.el ends here diff --git a/evil-collection.el b/evil-collection.el index a36c1ff..3f5dd6e 100644 --- a/evil-collection.el +++ b/evil-collection.el @@ -81,6 +81,7 @@ or evil-collection.") dired doc-view edebug + eldoc elfeed elisp-mode elisp-refs