Grammar: Force hard tabs in settings?


This is a follow-up to another question of mine. I’m still struggling with the problem mention there, but I found a bit of a workaround by using tabs in my regex stuff.

Now, \t will of course only work with hard tabs. I understand that in Atom one can choose to use hard or soft tabs on a per grammar base(even if several grammars belong to one package).

Now, since my package does need hard tabs, is there a way to force hard tabs in the settings file of a grammar package?



Each grammar has its own configuration settings which you can reach on File -> Settings...

Alternatively place the the configuration in the config.cson file (File -> Config..).
An example:

    tabType: "hard"

Does this help?


Exactly what I was looking for, thank you!