#NEWLINE# def _is_vim_script( file_path ) : #NEWLINE# #INDENT# if ( not file_path . is_file ( ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# file_name = file_path . name #NEWLINE# return bool ( re . match ( VIM_SCRIPT_FILE_NAME_PATTERNS , file_path ) )