Skip to content

Commit

Permalink
Remove range from :Lispfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adolenc committed Jul 26, 2016
1 parent 32e273e commit dbb662f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rplugin/lisp/__lisp-interface.lisp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(in-package :cl-user)
(defpackage #:lisp-interface
(:use #:cl))
(in-package :lisp-interface)
(in-package #:lisp-interface)


(defmacro echo-output (&body forms)
Expand Down Expand Up @@ -36,7 +36,7 @@
(loop for line-nr from start upto end collect (1+ line-nr)))))
(setf (nvim:buffer-lines (nvim:current-buffer) start end T) new-lines)))))

(nvim:defcommand/s lispfile (filename &opts range)
(nvim:defcommand/s lispfile (filename)
(declare (opts (complete "file")))
(echo-output (load filename)))

Expand Down

0 comments on commit dbb662f

Please sign in to comment.