mineo / yatemplate

File templates for Emacs with YASnippet
https://github.com/mineo/yatemplate
GNU General Public License v3.0
68 stars 11 forks source link

How to keep tab for Makefile #19

Open EMayej opened 5 years ago

EMayej commented 5 years ago

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?