Refactored s:get_buffer_include_files python check