1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-29 01:24:52 +03:00

Remove grench.kak

Closes #571
This commit is contained in:
Maxime Coste 2016-02-02 22:14:54 +00:00
parent fef0277998
commit ac601889df

View File

@ -1,17 +0,0 @@
# http://leiningen.org/grench.html
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
def grench -docstring 'eval selection with Grench/Leiningen' %{ %sh{
if ! grench eval ''; then
echo "echo 'auto launching headless Leiningen REPL'"
( lein repl :headless ) > /dev/null 2>&1 < /dev/null &
while ! grench eval '' > /dev/null 2>&1; do continue; done
fi
}
info -anchor "%val(cursor_line).%val(cursor_column)" %sh{ grench eval "$kak_selection" }
}
hook global WinSetOption filetype=clojure %{
map buffer normal <ret> :grench<ret>
}