Skip to content
Browse files

Merge pull request #13 from geoffbeier/master

fix load error with CentOS 5.7's vim 7.0
  • Loading branch information...
2 parents f59e043 + 09c00c4 commit 3964b284e0c5843f23976b9a9d4ba39d3ac655d9 @taxilian committed
Showing with 8 additions and 7 deletions.
  1. +8 −7 plugin/VimDebugger.vim
View
15 plugin/VimDebugger.vim
@@ -32,13 +32,6 @@
" Steve Francia <spf13-vim@spf13.com>
-function s:VimDebuggerLoad()
- if has('python')
- call s:VimDebuggerInit()
- endif
-endfunction
-
-call s:VimDebuggerLoad()
function s:VimDebuggerInit()
@@ -75,6 +68,14 @@ if has('python')
endif
endfunction
+function s:VimDebuggerLoad()
+ if has('python')
+ call s:VimDebuggerInit()
+ endif
+endfunction
+
+call s:VimDebuggerLoad()
+
function! g:__dbg_WatchFoldText()
let nucolwidth = &fdc + &number*&numberwidth
let winwd = winwidth(0) - nucolwidth - 5

0 comments on commit 3964b28

Please sign in to comment.
Something went wrong with that request. Please try again.