Fix gundo on newer versions on Python
This commit is contained in:
parent
fc811c92d8
commit
ddba0ae363
1 changed files with 6 additions and 0 deletions
6
vimrc
6
vimrc
|
@ -118,3 +118,9 @@ endif
|
||||||
colorscheme slate
|
colorscheme slate
|
||||||
" set this here for terminal sessions, also set in gvimrc for graphical sessions
|
" set this here for terminal sessions, also set in gvimrc for graphical sessions
|
||||||
hi CursorLine guibg=Grey10
|
hi CursorLine guibg=Grey10
|
||||||
|
|
||||||
|
" fix for gundo with newer versions of python
|
||||||
|
if has('python3')
|
||||||
|
let g:gundo_prefer_python3 = 1 " anything else breaks on Ubuntu 16.04+
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue