Skip to content

Commit

Permalink
Go to bottom of eval result buffers
Browse files Browse the repository at this point in the history
Fixes #51
  • Loading branch information
kotarak committed Jun 29, 2010
1 parent fd80510 commit 1db5fdf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autoload/vimclojure.vim
Expand Up @@ -315,6 +315,8 @@ endfunction
let vimclojure#ClojureResultBuffer = copy(vimclojure#ResultBuffer)
let vimclojure#ClojureResultBuffer["__superResultBufferInit"] =
\ vimclojure#ResultBuffer["Init"]
let vimclojure#ClojureResultBuffer["__superResultBufferShowOutput"] =
\ vimclojure#ResultBuffer["showOutput"]

function! vimclojure#ClojureResultBuffer.Init(instance) dict
call self.__superResultBufferInit(a:instance)
Expand All @@ -323,6 +325,11 @@ function! vimclojure#ClojureResultBuffer.Init(instance) dict
return a:instance
endfunction

function! vimclojure#ClojureResultBuffer.showOutput(text) dict
call self.__superResultBufferShowOutput(a:text)
normal G
endfunction

" Nails
if !exists("vimclojure#NailgunClient")
let vimclojure#NailgunClient = "ng"
Expand Down

0 comments on commit 1db5fdf

Please sign in to comment.