yatemplate icon indicating copy to clipboard operation
yatemplate copied to clipboard

How to keep tab for Makefile

Open EMayej opened this issue 5 years ago • 0 comments

When evaluating a template file for Makefile, the tab before each command is gone.

The template:

help:
	@echo "help"

The result:

help:
@echo "help"

Tried to add below code to the head of the template but that doesn't work. template:

# expand-env: ((yas-indent-line 'fixed))
# --
help:
	@echo "help"

result:

# expand-env: ((yas-indent-line 'fixed))
# --
help:
@echo "help"

Is there any way we could keep the tab?

EMayej avatar Mar 27 '19 01:03 EMayej