Work around missing vim module when generating sphinx docs
Horrible solution, should be fixed asap.
This commit is contained in:
parent
55ad48f0e6
commit
b599761ae6
|
@ -1,6 +1,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import vim
|
||||
try:
|
||||
import vim
|
||||
except ImportError:
|
||||
vim = {}
|
||||
|
||||
try:
|
||||
_vim_globals = vim.bindeval('g:')
|
||||
|
|
|
@ -3,7 +3,10 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
import os
|
||||
import vim
|
||||
try:
|
||||
import vim
|
||||
except ImportError:
|
||||
vim = {}
|
||||
|
||||
from powerline.bindings.vim import vim_get_func
|
||||
from powerline.lib import memoize, humanize_bytes
|
||||
|
|
Loading…
Reference in New Issue