Atom customFileTypes not working


#1

I’ve just installed Atom 1.25.1 on MacOS.
As there’s built-in xml files support and customising additional file types I’ve changed config.cson to this:

"*":
  core:
    customFileTypes:
      "text.xml": [
        "kml"
      ]

But when I opening .kml file it’s not highlighted. .xml file highlighted normally.
What am I doing wrong?


#2

Please remember to mark code as code (highlight it and press the </> button above the editor) so that we can see what your indentation looks like.


#3

Sorry, it wasn’t work when I created post.
Updated…


#4

It works for me.