From ddba0ae36366a77250bff94dbdec7c0fa9f9d35f Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Mon, 11 Sep 2017 11:49:24 -0400 Subject: [PATCH] Fix gundo on newer versions on Python --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index b33a8ab..e0e5ac9 100644 --- a/vimrc +++ b/vimrc @@ -118,3 +118,9 @@ endif colorscheme slate " set this here for terminal sessions, also set in gvimrc for graphical sessions 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 +