From d02ecc2b1c8e702bb2d54f5da825f2a348c98b48 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Mon, 21 Jan 2013 17:20:54 -0800 Subject: [PATCH] Making sure 'sys' is imported before being used --- autoload/youcompleteme.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 49223614..0db89378 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -66,6 +66,7 @@ function! youcompleteme#Enable() " This selects the previous candidate for ctrl-tab inoremap pumvisible() ? "\" : "\" + py import sys py import vim exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]' py import ycm