Atom crash when opening .html and .css

Hi i use atom as an IDE and when i open two different files (different extension, in this case .html and .css) the editor doesn’t make nothing and need to close it. Im working with Flask and the css and html are in different folders (templates and static) but this dont havse sense anyways, How i can fix it?