Skip to content

Commit

Permalink
- Fixed modifiable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Dec 14, 2010
1 parent 835f813 commit 9b5c6b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/vimshell/commands/less.vim
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,14 @@ function! s:next_half_screen()"{{{
endfunction "}}}

function! s:print_output(line_num)"{{{
setlocal modifiable

if winwidth(0) != b:interactive.width || winheight(0) != b:interactive.height
" Set new window size.
call b:interactive.process.set_winsize(winwidth(0), winheight(0))
endif

$
setlocal modifiable

if b:interactive.stdout_cache == ''
if b:interactive.process.stdout.eof
Expand Down

0 comments on commit 9b5c6b6

Please sign in to comment.