i’m usually using soft tabs in code, with the exception of makefiles, where hard tabs to indent recipes are mandatory. the package
language-make helps to set hard tabs for the scope
now i would like use hard tabs in makefiles only for recipe indentation (i.e.: at start of line) and use soft tabs in other places (i.e. to align assignments, not at start of line), example:
SOME_VAR := value1 # use soft tabs aka whitespaces in this line ANOTHER_LONG_VAR := value2 target1: <hardtab>do_something target2: <hardtab>do_another_something
can anyone help me to configure atom to use hard tabs at start of line and soft tabs everywhere else?