jawee / language-blade

Blade (Laravel) templating support in Atom
https://atom.io/packages/language-blade
Other
51 stars 21 forks source link

TabLength gets overridden by php settings #47

Closed afilias-gtawaf closed 8 years ago

afilias-gtawaf commented 8 years ago

I'm not able to leave TabLength as 2 for language blade which is the default while php has a tabLength of 4.

I would like to have blade with tabLength as 2 and php as 4?

I'm using atom 1.8.0

Thanks

Ingramz commented 8 years ago

@afilias-gtawaf seems like you have found a bug, thank you for the report. I'll look into it immediately.

Ingramz commented 8 years ago

The issue seems to be with package settings-view. If you disable this package, you can manually set the config file to your desired values, as soon as you enable the package, it will reset it back to what it thinks are the "defaults" for blade.

I am going to try to fix this, but for time being there's no good solution other than disabling settings-view.

Ingramz commented 8 years ago

See also https://github.com/atom/settings-view/issues/774

afilias-gtawaf commented 8 years ago

Thanks a lot it works now.

I reinstalled settings-view then set it to 2 and it seems to be working fine.

Thanks

winstliu commented 8 years ago

This will be fixed in Atom 1.12.0.

Ingramz commented 8 years ago

@50Wliu thanks for the heads up. :tada:

kikoseijo commented 6 years ago

This keeps working. 😩 Seems its overwritten with a php configuration. I just like to use 4 for PHP and 2 for the blade, but when I setup php does not allow to change to 2, does to 1, 3, etc, but not 2..