Return configuration

def _get_config(**kwargs):
    '''
    Return configuration
    '''
    config = {
        'filter_id_regex': ['.*!doc_skip'],
        'filter_function_regex': [],
        'replace_text_regex': {},
        'proccesser': 'highstate_doc.proccesser_markdown',
        'max_render_file_size': 10000,
        'note': None
    }
    if '__salt__' in globals():
        config_key = '{0}.config'.format(__virtualname__)
        config.update(__salt__['config.get'](config_key, {}))
    # pylint: disable=C0201
    for k in set(config.keys()) & set(kwargs.keys()):
        config[k] = kwargs[k]
    return config