git clone 'git://github.com/magnars/yesql-ghosts.git'
It display ghostly yesql defqueries inline. Like this:
The ghostly displays are inserted when cider-mode is entered, and updated every time you save.
I highly recommend installing yesql-ghosts through elpa.
It is available on marmalade and melpa:
M-x package-install yesql-ghosts
You can also install the dependencies on your own, and just dump yesql-ghosts in your path somewhere:
somewhere, and the ghosts will appear once you enter
cider-mode in a buffer
(defqueries "...") that points at an existing resource. To refresh, save
or revert the buffer.
If you want to set up your own mechanisms to display and hide the ghosts,
nil, and use
You can also include the descriptions from yesql, you know these ones:
-- name: insert-account! -- Inserts the account
t. I find it a bit much,
Copyright (C) 2015 Magnar Sveen
Authors: Magnar Sveen mailto:firstname.lastname@example.org
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 http://www.gnu.org/licenses/.