Permalink
Browse files

- Fixed vimshell initialize error.

  • Loading branch information...
1 parent 6bd22a5 commit 17395815978727b1ca9af899318978e653b05c6c @Shougo Shougo committed Jul 21, 2011
Showing with 12 additions and 1 deletion.
  1. +9 −1 autoload/vimshell.vim
  2. +3 −0 doc/vimshell.txt
View
@@ -1,7 +1,7 @@
"=============================================================================
" FILE: vimshell.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
-" Last Modified: 20 Jul 2011.
+" Last Modified: 21 Jul 2011.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@@ -61,6 +61,14 @@ let s:update_time_save = &updatetime
set vb t_vb=
let s:last_vimshell_bufnr = -1
+
+let l:context = {
+ \ 'has_head_spaces' : 0,
+ \ 'is_interactive' : 0,
+ \ 'is_insert' : 0,
+ \ 'fd' : { 'stdin' : '', 'stdout': '', 'stderr': ''},
+ \}
+call vimshell#set_context(l:context)
"}}}
function! vimshell#head_match(checkstr, headstr)"{{{
View
@@ -217,6 +217,9 @@ BUGS *vimshell-bugs*
==============================================================================
CHANGELOG *vimshell-changelog*
+2011-07-21
+- Fixed vimshell initialize error.
+
2011-07-20
- Fixed complete error in interactive buffer.
- Improved set variables.

0 comments on commit 1739581

Please sign in to comment.