

def get(name, type=None):
    'To get the value of a vim variable.'
    rawval = vim.eval((prefix + name))
    if (type is bool):
        return (False if (rawval == '0') else True)
    elif (type is int):
        return int(rawval)
    elif (type is float):
        return float(rawval)
    else:
        return rawval

dataset/ETHPy150Open chautoni/tube.vim/autoload/tube/utils/settings.py get/original