alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 136 forks source link

Change language checking to use the top scope name #116

Open mrmeszaros opened 4 years ago

mrmeszaros commented 4 years ago

In my opinion this makes it sturdier to check against the scope instead of the display name of the syntax file.

The syntax definitions use this too: https://www.sublimetext.com/docs/3/scope_naming.html.